r212589 - Fix typos.
Nikola Smiljanic
popizdeh at gmail.com
Tue Jul 8 22:42:35 PDT 2014
Author: nikola
Date: Wed Jul 9 00:42:35 2014
New Revision: 212589
URL: http://llvm.org/viewvc/llvm-project?rev=212589&view=rev
Log:
Fix typos.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=212589&r1=212588&r2=212589&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Wed Jul 9 00:42:35 2014
@@ -2103,7 +2103,7 @@ ExprResult Sema::ActOnIdExpression(Scope
return E;
}
- // Don't diagnose an empty lookup for inline assmebly.
+ // Don't diagnose an empty lookup for inline assembly.
if (IsInlineAsmIdentifier)
return ExprError();
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=212589&r1=212588&r2=212589&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Wed Jul 9 00:42:35 2014
@@ -1723,7 +1723,7 @@ bool Sema::LookupQualifiedName(LookupRes
!= 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();
More information about the cfe-commits
mailing list