Clang: Extend ClangTool and CommandLineBuilder

We now support source file and not only header files and the file path is
now automatically added to the end. This removes quite some clutter.

Change-Id: I74eabd262e6c7e5f4d523e3a3cd194bd3efe1ef3
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Ivan Donchevskii
2019-01-30 13:59:30 +01:00
committed by Marco Bubke
parent d6a6d356bb
commit 7fe65851d9
16 changed files with 196 additions and 197 deletions

View File

@@ -50,7 +50,7 @@ struct FileContent
{}
NativeFilePath filePath;
std::string content;
Utils::SmallString content;
};
struct UnsavedFileContent