Clang: Print command line args for debugging

...if qtc.clangbackend.verboselib=true.

Change-Id: Ibba408db955892daf055b2050d810ce55b9d8913
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-11-06 11:16:53 +01:00
parent 23fa5a7efd
commit 2ca473d59e
5 changed files with 49 additions and 6 deletions

View File

@@ -40,12 +40,16 @@ namespace ClangBackEnd {
class CommandLineArguments
{
public:
CommandLineArguments(const std::vector<const char *> &projectPartArguments,
CommandLineArguments(const char *filePath,
const std::vector<const char *> &projectPartArguments,
const Utf8StringVector &fileArguments,
bool addVerboseOption);
const char * const *data() const;
int count() const;
const char * at(int position) const;
void print() const;
private:
std::vector<const char *> m_arguments;