forked from OSchip/llvm-project
[analyzer] Rename REGISTER_MAP_WITH_GDM ->REGISTER_MAP_WITH_PROGRAMSTATE
llvm-svn: 166999
This commit is contained in:
parent
d0b95b0961
commit
4afaaf228c
|
@ -18,8 +18,8 @@
|
|||
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
|
||||
#include "llvm/ADT/ImmutableMap.h"
|
||||
|
||||
// Declare an immutable map suitable for placement into program states's GDM.
|
||||
#define REGISTER_MAP_WITH_GDM(Map, Key, Value) \
|
||||
/// Declare an immutable map suitable for placement into the ProgramState.
|
||||
#define REGISTER_MAP_WITH_PROGRAMSTATE(Map, Key, Value) \
|
||||
typedef llvm::ImmutableMap<Key, Value> Map; \
|
||||
namespace clang { \
|
||||
namespace ento { \
|
||||
|
|
|
@ -81,8 +81,8 @@ public:
|
|||
} // end anonymous namespace
|
||||
|
||||
/// The state of the checker is a map from tracked stream symbols to their
|
||||
/// state. Let's store it in the GDM.
|
||||
REGISTER_MAP_WITH_GDM(StreamMap, SymbolRef, StreamState)
|
||||
/// state. Let's store it in the ProgramState.
|
||||
REGISTER_MAP_WITH_PROGRAMSTATE(StreamMap, SymbolRef, StreamState)
|
||||
|
||||
void SimpleStreamChecker::checkPostStmt(const CallExpr *Call,
|
||||
CheckerContext &C) const {
|
||||
|
|
Loading…
Reference in New Issue