aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r--lib/AST/ExprConstant.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp
index ccad975796..17e174e061 100644
--- a/lib/AST/ExprConstant.cpp
+++ b/lib/AST/ExprConstant.cpp
@@ -1764,6 +1764,7 @@ findSubobject(EvalInfo &Info, const Expr *E, APValue &Obj, QualType ObjType,
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,