Clang: do not silently abort from checks
This commit is contained in:
parent
b4a60305f9
commit
396a69a630
|
@ -63,9 +63,6 @@ public:
|
|||
|
||||
/** @brief Run checks against the normal token list */
|
||||
void runChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
||||
if (settings->clang)
|
||||
return;
|
||||
|
||||
CheckUninitVar checkUninitVar(tokenizer, settings, errorLogger);
|
||||
checkUninitVar.check();
|
||||
checkUninitVar.valueFlowUninit();
|
||||
|
|
|
@ -1150,9 +1150,6 @@ void CheckUnusedVar::checkFunctionVariableUsage()
|
|||
if (!mSettings->severity.isEnabled(Severity::style))
|
||||
return;
|
||||
|
||||
if (mSettings->clang)
|
||||
return;
|
||||
|
||||
// Parse all executing scopes..
|
||||
const SymbolDatabase *symbolDatabase = mTokenizer->getSymbolDatabase();
|
||||
|
||||
|
|
Loading…
Reference in New Issue