Move private classes into anonymous namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166377 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp
index 8eae03c..616dcfc 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/lib/Sema/SemaStmtAsm.cpp
@@ -360,6 +360,8 @@
return false;
}
+namespace {
+
class MCAsmParserSemaCallbackImpl : public llvm::MCAsmParserSemaCallback {
Sema *SemaRef;
@@ -374,6 +376,8 @@
}
};
+}
+
NamedDecl *Sema::LookupInlineAsmIdentifier(StringRef Name, SourceLocation Loc,
unsigned &Size) {
Size = 0;