ToolChain: added warningFlags() method

Converts toolchain-specific flags in QFlags.
Will be useful for ClangCodeModel.

Change-Id: I2cff650c952f7c41d3a27535a27fa52b932a0b92
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Sergey Shambir
2013-03-03 21:53:38 +04:00
committed by Erik Verbruggen
parent e0314eb4f3
commit 20b5c3b2c8
8 changed files with 292 additions and 0 deletions

View File

@@ -215,6 +215,11 @@ QList<Task> ToolChain::validateKit(const Kit *) const
\brief Name used to display the name of the tool chain that will be created.
*/
/*!
\fn QStringList ProjectExplorer::ToolChain::clangParserFlags(const QStringList &cxxflags) const = 0
\brief Converts toolchain-specific flags to list flags that tunes libclang parser
*/
/*!
\fn bool ProjectExplorer::ToolChainFactory::canRestore(const QVariantMap &data)
\brief Used by the ToolChainManager to restore user-generated tool chains.