Fix typos.
authorNikola Smiljanic <popizdeh@gmail.com>
Wed, 9 Jul 2014 05:42:35 +0000 (05:42 +0000)
committerNikola Smiljanic <popizdeh@gmail.com>
Wed, 9 Jul 2014 05:42:35 +0000 (05:42 +0000)
llvm-svn: 212589

clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaLookup.cpp

index 92cfc5a..67e839c 100644 (file)
@@ -2103,7 +2103,7 @@ ExprResult Sema::ActOnIdExpression(Scope *S,
         return E;
     }
 
-    // Don't diagnose an empty lookup for inline assmebly.
+    // Don't diagnose an empty lookup for inline assembly.
     if (IsInlineAsmIdentifier)
       return ExprError();
 
index c7be6c9..adb4cbf 100644 (file)
@@ -1723,7 +1723,7 @@ bool Sema::LookupQualifiedName(LookupResult &R, DeclContext *LookupCtx,
                  != Context.getCanonicalType(PathElement.Base->getType())) {
       // We found members of the given name in two subobjects of
       // different types. If the declaration sets aren't the same, this
-      // this lookup is ambiguous.
+      // lookup is ambiguous.
       if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end())) {
         CXXBasePaths::paths_iterator FirstPath = Paths.begin();
         DeclContext::lookup_iterator FirstD = FirstPath->Decls.begin();