summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorNikola Smiljanic <popizdeh@gmail.com>2014-07-09 05:42:35 +0000
committerNikola Smiljanic <popizdeh@gmail.com>2014-07-09 05:42:35 +0000
commit1c1256830d9e35621401e188c2880fba74a5dca8 (patch)
tree7fbc5a2828bad24712b3783f45951efb70619b42 /clang/lib/Sema
parent9fa5444888c3f1fb9b2bbdbf7b610fdb57d89d99 (diff)
downloadbcm5719-llvm-1c1256830d9e35621401e188c2880fba74a5dca8.tar.gz
bcm5719-llvm-1c1256830d9e35621401e188c2880fba74a5dca8.zip
Fix typos.
llvm-svn: 212589
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
-rw-r--r--clang/lib/Sema/SemaLookup.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 92cfc5a4c8d..67e839c7e59 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -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();
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index c7be6c93150..adb4cbfa5ba 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/lib/Sema/SemaLookup.cpp
@@ -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();
OpenPOWER on IntegriCloud