//===- unittests/StaticAnalyzer/StoreTest.cpp -----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "Reusables.h" #include "clang/Tooling/Tooling.h" #include "gtest/gtest.h" namespace clang { namespace ento { namespace { class StoreTestConsumer : public ExprEngineConsumer { … }; template <class ConsumerTy> class TestAction : public ASTFrontendAction { … }; // Test that we can put a value into an int-type variable and load it // back from that variable. Test what happens if default bindings are used. class VariableBindConsumer : public StoreTestConsumer { … }; TEST(Store, VariableBind) { … } class LiteralCompoundConsumer : public StoreTestConsumer { … }; TEST(Store, LiteralCompound) { … } } // namespace } // namespace ento } // namespace clang