Lines Matching +defs:clang +defs:format
15 #include "clang/Format/Format.h"
24 #include "clang/Tooling/Inclusions/HeaderIncludes.h"
27 #define DEBUG_TYPE "format-formatter"
29 using clang::format::FormatStyle;
816 "WebKit", "GNU", "Microsoft", "clang-format"};
1238 namespace clang {
1239 namespace format {
1255 return "clang-format.parse_error";
1506 {"^\"(llvm|llvm-c|clang|clang-c)/", 2, 0, false},
1778 // - clang-format tries to detect that foo.h is the "main" header for
1965 else if (Name.equals_insensitive("clang-format"))
2450 .format(AnnotatedLines, /*DryRun=*/false,
3446 // MPEG transport streams use the ".ts" file extension. clang-format should
3447 // not attempt to format those. MPEG TS' frame format starts with 0x47 every
3895 " .clang-format file in one of the parent directories\n"
3897 " If no .clang-format file is found, falls back to\n"
3921 // https://protobuf.dev/reference/protobuf/textformat-spec/#text-format-files
4014 // User provided clang-format file using -style=file:path/to/format/file.
4068 // Look for .clang-format/_clang-format file in the file's parent directories.
4070 FilesToLookFor.push_back(".clang-format");
4071 FilesToLookFor.push_back("_clang-format");
4127 // .clang-format AND _clang-format, if both exist. Then we continue the
4150 if (Comment == (On ? "/* clang-format on */" : "/* clang-format off */"))
4153 static const char ClangFormatOn[] = "// clang-format on";
4154 static const char ClangFormatOff[] = "// clang-format off";
4169 } // namespace format
4170 } // namespace clang