forked from OSchip/llvm-project
Have set-xcode-analyer report an error if no xcspec file could be found.
llvm-svn: 164713
This commit is contained in:
parent
66dfa34404
commit
f81b0e387a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue