Move helper classes into anonymous namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180642 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index ccad975..17e174e 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -1764,6 +1764,7 @@
return handler.found(*O, ObjType);
}
+namespace {
struct ExtractSubobjectHandler {
EvalInfo &Info;
APValue &Obj;
@@ -1855,6 +1856,7 @@
}
};
const AccessKinds ModifySubobjectHandler::AccessKind;
+} // end anonymous namespace
/// Update the designated sub-object of an rvalue to the given value.
static bool modifySubobject(EvalInfo &Info, const Expr *E,