Searched refs:HeaderCode (Results 1 – 17 of 17) sorted by relevance
42 static TestTU withHeaderCode(llvm::StringRef HeaderCode) { in withHeaderCode()44 TU.HeaderCode = std::string(HeaderCode); in withHeaderCode()53 std::string HeaderCode; member
144 std::string HeaderCode = R"cpp( in TEST_F() local151 addFile(HeaderPath, HeaderCode); in TEST_F()162 HasDigest(digest(HeaderCode)))))); in TEST_F()180 std::string HeaderCode = R"cpp( in TEST_F() local185 addFile(HeaderPath, HeaderCode); in TEST_F()198 HasDigest(digest(HeaderCode)))), in TEST_F()215 std::string HeaderCode = ""; in TEST_F() local218 addFile(HeaderPath, HeaderCode); in TEST_F()230 HasDigest(digest(HeaderCode)))))); in TEST_F()
173 File.HeaderCode = std::string(Code); in update()242 TU.HeaderCode = "class Foo{};"; in TEST()335 const char *HeaderCode = "class Foo {};"; in TEST() local343 findSymbol(TestTU::withHeaderCode(HeaderCode).headerSymbols(), "Foo"); in TEST()351 Test.HeaderCode = HeaderCode; in TEST()358 Test2.HeaderCode = HeaderCode; in TEST()372 Annotations HeaderCode(R"cpp( in TEST() local386 Test.HeaderCode = std::string(HeaderCode.code()); in TEST()415 TU.HeaderCode = "class A {}; class B : public A {};"; in TEST()459 TU.HeaderCode = "class Foo{};"; in TEST()[all …]
86 TU.HeaderCode = R"cpp( in TEST()120 Testing.HeaderCode = "void A_Sym1();"; in TEST()126 Testing.HeaderCode = R"cpp( in TEST()142 llvm::StringRef HeaderCode; in TEST() member176 TestTU TU = TestTU::withCode(Case.HeaderCode); in TEST()
359 const char *HeaderCode = "class Foo;"; in TEST() local366 Test.HeaderCode = HeaderCode; in TEST()373 Test.HeaderCode = HeaderCode; in TEST()383 Test2.HeaderCode = HeaderCode; in TEST()
35 FS.Files[FullHeaderName] = HeaderCode; in inputs()43 if (!HeaderCode.empty()) { in inputs()125 llvm::StringRef(HeaderCode).contains(Marker)) in build()
311 TU.HeaderCode = std::string(SymbolHeader.code()); in TEST()358 TU.HeaderCode = std::string(SymbolHeader.code()); in TEST()1076 TU.HeaderCode = std::string(Header.code()); in TEST()1768 TU.HeaderCode = Header; in TEST()1783 IndexedTU.HeaderCode = Header; in TEST()1807 TU.HeaderCode = Header; in TEST()1825 IndexedTU.HeaderCode = Header; in TEST()
55 TU.HeaderCode = std::string(Code.code()); in buildRefSlab()860 OtherFile.HeaderCode = CommonHeader; in TEST()1033 TU.HeaderCode = CommonHeader; in TEST()1095 TU.HeaderCode = in TEST()
110 TU.HeaderCode = R"( in TEST()127 TU.HeaderCode = R"cpp( in TEST()330 TU.HeaderCode = R"cpp( in TEST()
110 void build(llvm::StringRef HeaderCode, llvm::StringRef Code = "") { in build() argument113 File.HeaderCode = std::string(HeaderCode); in build()254 bool runSymbolCollector(llvm::StringRef HeaderCode, llvm::StringRef MainCode, in runSymbolCollector() argument274 llvm::MemoryBuffer::getMemBuffer(HeaderCode));
540 TU.HeaderCode = "#define MACRO int x;"; in TEST()553 TU.HeaderCode = R"cpp( in TEST()
90 Test.HeaderCode = R"cpp( in TEST()
312 TU.HeaderCode = Header.code().str(); in TEST()330 TU.HeaderCode = R"cpp( in TEST()
552 TU.HeaderCode = HeaderInPreambleAnnotations.code().str(); in TEST()
2418 TU.HeaderCode = "#define CLANGD_PREAMBLE_HEADER x"; in TEST()
96 TU.HeaderCode = Header;116 TU.HeaderCode = Header; in apply()
64 bool runFindAllSymbols(StringRef HeaderCode, StringRef MainCode) { in runFindAllSymbols() argument104 llvm::MemoryBuffer::getMemBuffer(HeaderCode)); in runFindAllSymbols()