| /llvm-project-15.0.7/clang/unittests/Format/ |
| H A D | FormatTestObjC.cpp | 73 auto Style = getStyle("LLVM", "a.h", "none", in TEST() 79 Style = getStyle("LLVM", "a.h", "none", in TEST() 85 Style = getStyle("LLVM", "a.h", "none", in TEST() 92 Style = getStyle("LLVM", "a.h", "none", in TEST() 107 Style = getStyle("{}", "a.h", "none", in TEST() 116 Style = getStyle("{}", "a.h", "none", in TEST() 130 Style = getStyle("{}", "a.h", "none", "enum Foo {};"); in TEST() 149 Style = getStyle("{}", "a.h", "none", in TEST() 154 Style = getStyle("{}", "a.h", "none", in TEST() 178 auto Style = getStyle("LLVM", "a.h", "none", in TEST() [all …]
|
| H A D | FormatTest.cpp | 22875 auto Style1 = getStyle("file", "", "Google", "", &FS); in TEST() 22900 Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS); in TEST() 22908 Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS); in TEST() 22913 Style2 = getStyle("{}", "a.h", "none", "", &FS); in TEST() 22928 auto Style4 = getStyle("file", "a.h", "KungFu", "", &FS); in TEST() 22938 auto Style6 = getStyle("KungFu", "a.h", "LLVM", "", &FS); in TEST() 22957 auto StyleTd = getStyle("file", "x.td", "llvm", "", &FS); in TEST() 22997 Style9 = getStyle("file", "/e/sub/code.cpp", "LLVM", "", &FS); in TEST() 23046 Style9 = getStyle("{BasedOnStyle: InheritParentConfig, " in TEST() 23095 auto Style = getStyle("file:/e/explicit.clang-format", in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | IncludeInserter.h | 85 IncludeSorter::IncludeStyle getStyle() const { return Style; } in getStyle() function
|
| H A D | TransformerClangTidyCheck.cpp | 145 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | InitVariablesCheck.cpp | 35 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
|
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 31 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | ReplaceRandomShuffleCheck.cpp | 53 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
|
| H A D | ReplaceAutoPtrCheck.cpp | 48 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| H A D | PassByValueCheck.cpp | 198 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| H A D | MakeSmartPtrCheck.cpp | 58 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| H A D | LoopConvertCheck.cpp | 489 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | Refactoring.cpp | 88 auto CurStyle = format::getStyle(Style, FilePath, "LLVM"); in formatAndApplyAllReplacements()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UniqueptrResetReleaseCheck.cpp | 28 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | StringFindStartswithCheck.cpp | 141 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-apply-replacements/tool/ |
| H A D | ClangApplyReplacementsMain.cpp | 104 auto FormatStyleOrError = format::getStyle(FormatStyleOpt, FormatStyleConfig, in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/ |
| H A D | ClangIncludeFixer.cpp | 332 auto InsertStyle = format::getStyle(format::DefaultFormatStyle, in includeFixerMain() 413 format::getStyle(format::DefaultFormatStyle, FilePath, Style); in includeFixerMain()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | TypePromotionInMathFnCheck.cpp | 45 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
|
| H A D | UnnecessaryValueParamCheck.cpp | 168 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 441 getStyle(Style, AssumedFileName, FallbackStyle, Code->getBuffer(), in format() 566 clang::format::getStyle(Style, FileName, FallbackStyle, in dumpConfig()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ImplicitWideningOfMultiplicationResultCheck.cpp | 59 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
|
| /llvm-project-15.0.7/clang/include/clang/Format/ |
| H A D | Format.h | 4262 llvm::Expected<FormatStyle> getStyle(StringRef StyleName, StringRef FileName,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidy.cpp | 206 auto Style = format::getStyle( in finish()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A D | Move.cpp | 782 auto Style = format::getStyle(format::DefaultFormatStyle, FilePath, in removeDeclsInOldFiles()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/ |
| H A D | ChangeNamespace.cpp | 1009 format::getStyle(format::DefaultFormatStyle, FilePath, FallbackStyle); in onEndOfTranslationUnit()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.cpp | 580 auto Style = format::getStyle(format::DefaultFormatStyle, File, in getFormatStyleForFile()
|