diff options
-rwxr-xr-x | tools/scan-build/set-xcode-analyzer | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/scan-build/set-xcode-analyzer b/tools/scan-build/set-xcode-analyzer index de3219ba5b..8ef5faad12 100755 --- a/tools/scan-build/set-xcode-analyzer +++ b/tools/scan-build/set-xcode-analyzer @@ -85,8 +85,13 @@ def main(): # of the Xcode.app subtree. xcode_path = os.path.dirname(xcode_path) + foundSpec = False for x in FindClangSpecs(xcode_path): + foundSpec = True ModifySpec(x, path) + + if foundSpec == False: + print "(-) No compiler configuration file was found. Xcode's analyzer has not been updated." if __name__ == '__main__': main() |