#include "CheckerRegistration.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Frontend/CheckerRegistry.h"
#include "gtest/gtest.h"
usingnamespaceclang;
usingnamespaceento;
namespace {
class EvalCallBase : public Checker<eval::Call> { … };
class EvalCallFoo1 : public EvalCallBase { … };
class EvalCallFoo2 : public EvalCallBase { … };
void addEvalFooCheckers(AnalysisASTConsumer &AnalysisConsumer,
AnalyzerOptions &AnOpts) { … }
}
TEST(EvalCall, DetectConflictingEvalCalls) { … }