]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212589 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 92cfc5a4c8d7c38962f3cef29461cc2cfa38abad..67e839c7e592c21f4c3de66596ab4b0112533b36 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 c7be6c9315004173f0dc33e6e4119d70fa7b8335..adb4cbfa5bac196c5518300724eb774513ac7429 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();