Remove redundant ValID::ValID:: scoping (doesn't compile on Windows).
authorSteve Naroff <snaroff@apple.com>
Mon, 5 Jan 2009 18:48:47 +0000 (18:48 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 5 Jan 2009 18:48:47 +0000 (18:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61727 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLParser.cpp

index 0708b798adab2cf19e95fb19a9ae9e6b004f50c0..2efd221fa3305dc20b8519bfd691a58291dcbddd 100644 (file)
@@ -1999,7 +1999,7 @@ bool LLParser::ConvertValIDToValue(const Type *Ty, ValID &ID, Value *&V,
     V = PFS.GetVal(ID.UIntVal, Ty, ID.Loc);
   else if (ID.Kind == ValID::t_LocalName)
     V = PFS.GetVal(ID.StrVal, Ty, ID.Loc);
-  else if (ID.Kind == ValID::ValID::t_InlineAsm) {
+  else if (ID.Kind == ValID::t_InlineAsm) {
     const PointerType *PTy = dyn_cast<PointerType>(Ty);
     const FunctionType *FTy =
       PTy ? dyn_cast<FunctionType>(PTy->getElementType()) : 0;