CmdArgs.push_back("-analyzer-checker=cocoa");
}
- // Checks to perform for all languages *except* C++.
- if (!types::isCXX(InputType)) {
- // NOTE: Leaving -analyzer-check-objc-mem here is intentional.
- // It also checks C code.
- CmdArgs.push_back("-analyzer-check-objc-mem");
+ // NOTE: Leaving -analyzer-check-objc-mem here is intentional.
+ // It also checks C code.
+ CmdArgs.push_back("-analyzer-check-objc-mem");
- CmdArgs.push_back("-analyzer-eagerly-assume");
- }
+ CmdArgs.push_back("-analyzer-eagerly-assume");
}
// Set the output format. The default is plist, for (lame) historical