summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaStmtAsm.cpp')
-rw-r--r--clang/lib/Sema/SemaStmtAsm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp
index 8eae03c987c..616dcfcd83a 100644
--- a/clang/lib/Sema/SemaStmtAsm.cpp
+++ b/clang/lib/Sema/SemaStmtAsm.cpp
@@ -360,6 +360,8 @@ static bool buildMSAsmString(Sema &SemaRef,
return false;
}
+namespace {
+
class MCAsmParserSemaCallbackImpl : public llvm::MCAsmParserSemaCallback {
Sema *SemaRef;
@@ -374,6 +376,8 @@ public:
}
};
+}
+
NamedDecl *Sema::LookupInlineAsmIdentifier(StringRef Name, SourceLocation Loc,
unsigned &Size) {
Size = 0;
OpenPOWER on IntegriCloud