Home
last modified time | relevance | path

Searched refs:IncludeFormat (Results 1 – 4 of 4) sorted by relevance

/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h54 enum class IncludeFormat { enum
220 IncludeFormat Format = IncludeFormat::Quoted);
227 IncludeFormat Format = IncludeFormat::Quoted) {
370 IncludeFormat Format = IncludeFormat::Quoted);
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DTransformerClangTidyCheckTest.cpp28 using transformer::IncludeFormat;
270 RewriteRuleWith<std::string> replaceCall(IncludeFormat Format) { in replaceCall()
279 template <IncludeFormat Format>
300 test::runCheckOnCode<IncludeCheck<IncludeFormat::Quoted>>(Input)); in TEST()
316 test::runCheckOnCode<IncludeCheck<IncludeFormat::Angled>>(Input)); in TEST()
324 addInclude(Rule, "bar.h", IncludeFormat::Quoted); in rule()
/llvm-project/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp166 static std::string formatHeaderPath(StringRef Header, IncludeFormat Format) { in formatHeaderPath()
168 case transformer::IncludeFormat::Quoted: in formatHeaderPath()
170 case transformer::IncludeFormat::Angled: in formatHeaderPath()
177 IncludeFormat Format) { in addInclude()
360 IncludeFormat Format) { in addInclude()
/llvm-project/clang/unittests/Tooling/
H A DTransformerTest.cpp277 {addInclude("clang/OtherLib.h", transformer::IncludeFormat::Angled), in TEST_F()
314 addInclude(Rule, "clang/OtherLib.h", transformer::IncludeFormat::Angled); in TEST_F()