projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66dfa34
)
Have set-xcode-analyer report an error if no xcspec file could be found.
author
Ted Kremenek
<kremenek@apple.com>
Wed, 26 Sep 2012 18:19:55 +0000
(18:19 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Wed, 26 Sep 2012 18:19:55 +0000
(18:19 +0000)
llvm-svn: 164713
clang/tools/scan-build/set-xcode-analyzer
patch
|
blob
|
history
diff --git
a/clang/tools/scan-build/set-xcode-analyzer
b/clang/tools/scan-build/set-xcode-analyzer
index
de3219b
..
8ef5faa
100755
(executable)
--- a/
clang/tools/scan-build/set-xcode-analyzer
+++ b/
clang/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()