aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-20 13:02:06 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-20 13:02:06 +0000
commitc6f84cf73e0bc04faacd1a9b7845e014e7fac21e (patch)
treea924e8e8685830d1e3db81f96da063c28853c24b /lib/Sema/SemaStmtAsm.cpp
parentaa9a8ce5d31975900c7243b1508f5111baddacbe (diff)
Move private classes into anonymous namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmtAsm.cpp')
-rw-r--r--lib/Sema/SemaStmtAsm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp
index 8eae03c987..616dcfcd83 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/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;