diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-01-11 21:49:36 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-01-11 21:49:36 +0000 |
| commit | 632af24eb8ecbc157bfcb178511c17be2fea7486 (patch) | |
| tree | 54092a87d943e55e0c4e73fa8839f3e199cc9d8d | |
| parent | bbe4b9812b2f2bc86de341e87878aa20bef77718 (diff) | |
| download | bcm5719-llvm-632af24eb8ecbc157bfcb178511c17be2fea7486.tar.gz bcm5719-llvm-632af24eb8ecbc157bfcb178511c17be2fea7486.zip | |
Set process return code of 1 in set-xcode-analyzer when Xcode needs to be quit. Fixes <rdar://problem/12983031>.
llvm-svn: 172256
| -rwxr-xr-x | clang/tools/scan-build/set-xcode-analyzer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/scan-build/set-xcode-analyzer b/clang/tools/scan-build/set-xcode-analyzer index a32e6762d9e..3076b39da04 100755 --- a/clang/tools/scan-build/set-xcode-analyzer +++ b/clang/tools/scan-build/set-xcode-analyzer @@ -76,7 +76,7 @@ def main(): for x in NSWorkspace.sharedWorkspace().runningApplications(): if x.localizedName().find("Xcode") >= 0: print "(-) You must quit Xcode first before modifying its configuration files." - return + sys.exit(1) isBuiltinAnalyzer = False if options.path: |

