//===- unittests/Analysis/FlowSensitive/ASTOpsTest.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 "clang/Analysis/FlowSensitive/ASTOps.h" #include "TestingSupport.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include <memory> namespace { usingnamespaceclang; usingnamespacedataflow; cxxRecordDecl; hasName; hasType; initListExpr; match; selectFirst; findValueDecl; IsEmpty; UnorderedElementsAre; TEST(ASTOpsTest, RecordInitListHelperOnEmptyUnionInitList) { … } TEST(ASTOpsTest, ReferencedDeclsOnUnionInitList) { … } TEST(ASTOpsTest, ReferencedDeclsLocalsNotParamsOrStatics) { … } } // namespace