|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/Format/Format.h 2365 llvm::Expected<FormatStyle> getStyle(StringRef StyleName, StringRef FileName,
References
tools/clang/lib/Tooling/Refactoring.cpp 88 auto CurStyle = format::getStyle(Style, FilePath, "LLVM");
tools/clang/tools/clang-format/ClangFormat.cpp 407 getStyle(Style, AssumedFileName, FallbackStyle, Code->getBuffer());
494 clang::format::getStyle(Style, FileName, FallbackStyle,
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp 99 auto FormatStyleOrError = format::getStyle(FormatStyleOpt, FormatStyleConfig,
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 1019 format::getStyle(format::DefaultFormatStyle, FilePath, FallbackStyle);
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp 326 auto InsertStyle = format::getStyle(format::DefaultFormatStyle,
407 format::getStyle(format::DefaultFormatStyle, FilePath, Style);
tools/clang/tools/extra/clang-move/Move.cpp 781 auto Style = format::getStyle(format::DefaultFormatStyle, FilePath,
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 199 auto Style = format::getStyle(
tools/clang/tools/extra/clangd/ClangdServer.cpp 292 auto Style = format::getStyle(format::DefaultFormatStyle, File,
tools/clang/tools/extra/clangd/SourceCode.cpp 703 auto Style = format::getStyle(format::DefaultFormatStyle, File,
tools/clang/unittests/Format/FormatTest.cpp14271 auto Style1 = getStyle("file", "", "Google", "", &FS);
14284 auto Style1 = getStyle("file", "/a/.clang-format", "Google", "", &FS);
14291 auto Style2 = getStyle("file", "/b/test.cpp", "Mozilla", "", &FS);
14296 Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS);
14304 Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS);
14309 Style2 = getStyle("{}", "a.h", "none", "", &FS);
14319 auto Style3 = getStyle("file", "/c/sub/sub/sub/test.cpp", "LLVM", "", &FS);
14324 auto Style4 = getStyle("file", "a.h", "KungFu", "", &FS);
14329 auto Style5 = getStyle("{invalid_key=invalid_value}", "a.h", "LLVM", "", &FS);
14334 auto Style6 = getStyle("KungFu", "a.h", "LLVM", "", &FS);
14345 auto Style7 = getStyle("file", "/d/.clang-format", "LLVM", "", &FS);
14350 auto StyleTd = getStyle("file", "x.td", "llvm", "", &FS);
tools/clang/unittests/Format/FormatTestObjC.cpp 72 auto Style = getStyle("LLVM", "a.h", "none", "@interface\n"
77 Style = getStyle("LLVM", "a.h", "none", "@interface\n"
82 Style = getStyle("LLVM", "a.h", "none", "@interface\n"
88 Style = getStyle("LLVM", "a.h", "none", "@interface\n"
94 Style = getStyle("LLVM", "a.h", "none", "void f() {}");
98 Style = getStyle("{}", "a.h", "none", "@interface Foo\n@end\n");
102 Style = getStyle("{}", "a.h", "none",
107 Style = getStyle("{}", "a.h", "none", "@protocol Foo\n@end\n");
111 Style = getStyle("{}", "a.h", "none",
117 getStyle("{}", "a.h", "none", "typedef NS_ENUM(int, Foo) {};\n");
121 Style = getStyle("{}", "a.h", "none",
126 Style = getStyle("{}", "a.h", "none", "enum Foo {};");
131 getStyle("{}", "a.h", "none", "inline void Foo() { Log(@\"Foo\"); }\n");
136 getStyle("{}", "a.h", "none", "inline void Foo() { Log(\"Foo\"); }\n");
141 getStyle("{}", "a.h", "none", "inline void Foo() { id = @[1, 2, 3]; }\n");
145 Style = getStyle("{}", "a.h", "none",
150 Style = getStyle("{}", "a.h", "none",
156 Style = getStyle("{}", "a.h", "none", "extern NSString *kFoo;\n");
160 Style = getStyle("{}", "a.h", "none", "extern NSInteger Foo();\n");
164 Style = getStyle("{}", "a.h", "none", "NSObject *Foo();\n");
168 Style = getStyle("{}", "a.h", "none", "NSSet *Foo();\n");
174 auto Style = getStyle("LLVM", "a.h", "none",
180 Style = getStyle("LLVM", "a.h", "none",