Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h53 enum class IncludeFormat { enum
215 IncludeFormat Format = IncludeFormat::Quoted);
222 IncludeFormat Format = IncludeFormat::Quoted) {
365 IncludeFormat Format = IncludeFormat::Quoted);
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DTransformerClangTidyCheckTest.cpp27 using transformer::IncludeFormat;
220 RewriteRuleWith<std::string> replaceCall(IncludeFormat Format) { in replaceCall()
229 template <IncludeFormat Format>
250 test::runCheckOnCode<IncludeCheck<IncludeFormat::Quoted>>(Input)); in TEST()
266 test::runCheckOnCode<IncludeCheck<IncludeFormat::Angled>>(Input)); in TEST()
274 addInclude(Rule, "bar.h", IncludeFormat::Quoted); in rule()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DRewriteRule.cpp150 static std::string formatHeaderPath(StringRef Header, IncludeFormat Format) { in formatHeaderPath()
152 case transformer::IncludeFormat::Quoted: in formatHeaderPath()
154 case transformer::IncludeFormat::Angled: in formatHeaderPath()
161 IncludeFormat Format) { in addInclude()
344 IncludeFormat Format) { in addInclude()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DTransformerTest.cpp276 {addInclude("clang/OtherLib.h", transformer::IncludeFormat::Angled), in TEST_F()
313 addInclude(Rule, "clang/OtherLib.h", transformer::IncludeFormat::Angled); in TEST_F()