Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Tooling/
DJSONCompilationDatabase.h60 enum class JSONCommandLineSyntax { Windows, Gnu, AutoDetect }; enum
69 JSONCommandLineSyntax Syntax);
76 JSONCommandLineSyntax Syntax);
98 JSONCommandLineSyntax Syntax) in JSONCompilationDatabase()
134 JSONCommandLineSyntax Syntax;
/external/llvm-project/clang/lib/Tooling/
DJSONCompilationDatabase.cpp135 std::vector<std::string> unescapeCommandLine(JSONCommandLineSyntax Syntax, in unescapeCommandLine()
137 if (Syntax == JSONCommandLineSyntax::AutoDetect) { in unescapeCommandLine()
138 Syntax = JSONCommandLineSyntax::Gnu; in unescapeCommandLine()
145 Syntax = JSONCommandLineSyntax::Windows; in unescapeCommandLine()
149 if (Syntax == JSONCommandLineSyntax::Windows) { in unescapeCommandLine()
157 assert(Syntax == JSONCommandLineSyntax::Gnu); in unescapeCommandLine()
170 JSONDatabasePath, ErrorMessage, JSONCommandLineSyntax::AutoDetect); in loadFromDirectory()
198 JSONCommandLineSyntax Syntax) { in loadFromFile()
218 JSONCommandLineSyntax Syntax) { in loadFromBuffer()
301 nodeToCommandLine(JSONCommandLineSyntax Syntax, in nodeToCommandLine()
/external/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp31 JSONCommandLineSyntax::Gnu)) in expectFailure()
57 JSONCommandLineSyntax Syntax) { in getAllFiles()
69 getAllCompileCommands(JSONCommandLineSyntax Syntax, StringRef JSONDatabase, in getAllCompileCommands()
84 getAllFiles("[]", ErrorMessage, JSONCommandLineSyntax::Gnu)) in TEST()
105 ErrorMessage, JSONCommandLineSyntax::Gnu)) in TEST()
112 0u, getAllCompileCommands(JSONCommandLineSyntax::Gnu, "[]", ErrorMessage) in TEST()
126 JSONCommandLineSyntax::Gnu, in TEST()
152 JSONCommandLineSyntax::Gnu, in TEST()
179 JSONCommandLineSyntax::Gnu)); in findCompileArgsInJsonDatabase()
/external/llvm-project/clang/tools/clang-scan-deps/
DClangScanDeps.cpp403 tooling::JSONCommandLineSyntax::AutoDetect); in main()