Home
last modified time | relevance | path

Searched refs:getStyle (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestObjC.cpp73 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 DFormatTest.cpp22875 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 DIncludeInserter.h85 IncludeSorter::IncludeStyle getStyle() const { return Style; } in getStyle() function
H A DTransformerClangTidyCheck.cpp145 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DInitVariablesCheck.cpp35 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
H A DProBoundsConstantArrayIndexCheck.cpp31 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DReplaceRandomShuffleCheck.cpp53 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
H A DReplaceAutoPtrCheck.cpp48 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
H A DPassByValueCheck.cpp198 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
H A DMakeSmartPtrCheck.cpp58 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
H A DLoopConvertCheck.cpp489 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DRefactoring.cpp88 auto CurStyle = format::getStyle(Style, FilePath, "LLVM"); in formatAndApplyAllReplacements()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUniqueptrResetReleaseCheck.cpp28 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DStringFindStartswithCheck.cpp141 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang-tools-extra/clang-apply-replacements/tool/
H A DClangApplyReplacementsMain.cpp104 auto FormatStyleOrError = format::getStyle(FormatStyleOpt, FormatStyleConfig, in main()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/
H A DClangIncludeFixer.cpp332 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 DTypePromotionInMathFnCheck.cpp45 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
H A DUnnecessaryValueParamCheck.cpp168 Options.store(Opts, "IncludeStyle", Inserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp441 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 DImplicitWideningOfMultiplicationResultCheck.cpp59 Options.store(Opts, "IncludeStyle", IncludeInserter.getStyle()); in storeOptions()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h4262 llvm::Expected<FormatStyle> getStyle(StringRef StyleName, StringRef FileName,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.cpp206 auto Style = format::getStyle( in finish()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp782 auto Style = format::getStyle(format::DefaultFormatStyle, FilePath, in removeDeclsInOldFiles()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp1009 format::getStyle(format::DefaultFormatStyle, FilePath, FallbackStyle); in onEndOfTranslationUnit()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp580 auto Style = format::getStyle(format::DefaultFormatStyle, File, in getFormatStyleForFile()

12