#include "clang/Analysis/FlowSensitive/DataflowEnvironment.h"
#include "TestingSupport.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Stmt.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Analysis/FlowSensitive/DataflowAnalysisContext.h"
#include "clang/Analysis/FlowSensitive/StorageLocation.h"
#include "clang/Analysis/FlowSensitive/Value.h"
#include "clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h"
#include "clang/Tooling/Tooling.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>
#include <string>
namespace {
usingnamespaceclang;
usingnamespacedataflow;
findValueDecl;
getFieldValue;
Contains;
IsNull;
NotNull;
class EnvironmentTest : public ::testing::Test { … };
TEST_F(EnvironmentTest, FlowCondition) { … }
TEST_F(EnvironmentTest, SetAndGetValueOnCfgOmittedNodes) { … }
TEST_F(EnvironmentTest, CreateValueRecursiveType) { … }
TEST_F(EnvironmentTest, DifferentReferenceLocInJoin) { … }
TEST_F(EnvironmentTest, InitGlobalVarsFun) { … }
TEST_F(EnvironmentTest, IncludeFieldsFromDefaultInitializers) { … }
TEST_F(EnvironmentTest, InitGlobalVarsFieldFun) { … }
TEST_F(EnvironmentTest, InitGlobalVarsConstructor) { … }
TEST_F(EnvironmentTest,
ModelMemberForAccessorUsingMethodPointerThroughTemplate) { … }
TEST_F(EnvironmentTest, CXXDefaultInitExprResultObjIsWrappedExprResultObj) { … }
TEST_F(EnvironmentTest, ResultObjectLocationForInheritedCtorInitExpr) { … }
TEST_F(EnvironmentTest, Stmt) { … }
TEST_F(EnvironmentTest, LambdaCapturingThisInFieldInitializer) { … }
}