diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-10-13 22:18:22 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-10-13 22:18:22 +0000 |
commit | c55e9975566ca2491d377a33f1ac497ef12571a3 (patch) | |
tree | 1474ecce883dbfa88a45d8d0bc6bfa75bd8fa3c5 /clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp | |
parent | 7899ccbcca9dd69ad21231a047c1e6130528937e (diff) | |
download | bcm5719-llvm-c55e9975566ca2491d377a33f1ac497ef12571a3.tar.gz bcm5719-llvm-c55e9975566ca2491d377a33f1ac497ef12571a3.zip |
Move some helpers from the global namespace into anonymous ones.
llvm-svn: 344468
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp index 7c53b2d21a5..0752dba49c8 100644 --- a/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp @@ -337,6 +337,7 @@ void ExprInspectionChecker::analyzerDenote(const CallExpr *CE, C.addTransition(C.getState()->set<DenotedSymbols>(Sym, E)); } +namespace { class SymbolExpressor : public SymExprVisitor<SymbolExpressor, Optional<std::string>> { ProgramStateRef State; @@ -369,6 +370,7 @@ public: return None; } }; +} // namespace void ExprInspectionChecker::analyzerExpress(const CallExpr *CE, CheckerContext &C) const { |