r180642 - Move helper classes into anonymous namespaces.
Benjamin Kramer
benny.kra at googlemail.com
Fri Apr 26 15:01:47 PDT 2013
Author: d0k
Date: Fri Apr 26 17:01:47 2013
New Revision: 180642
URL: http://llvm.org/viewvc/llvm-project?rev=180642&view=rev
Log:
Move helper classes into anonymous namespaces.
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=180642&r1=180641&r2=180642&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Fri Apr 26 17:01:47 2013
@@ -1764,6 +1764,7 @@ findSubobject(EvalInfo &Info, const Expr
return handler.found(*O, ObjType);
}
+namespace {
struct ExtractSubobjectHandler {
EvalInfo &Info;
APValue &Obj;
@@ -1855,6 +1856,7 @@ struct ModifySubobjectHandler {
}
};
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,
More information about the cfe-commits
mailing list