[cfe-commits] r53114 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Thu Jul 3 15:24:10 PDT 2008
Author: kremenek
Date: Thu Jul 3 17:24:10 2008
New Revision: 53114
URL: http://llvm.org/viewvc/llvm-project?rev=53114&view=rev
Log:
Have ccc-analyzer skip any files with an unknown (or absent) extension.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=53114&r1=53113&r2=53114&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Thu Jul 3 17:24:10 2008
@@ -112,7 +112,9 @@
elif extension in [ "s", "o", "a", "so" ]:
return "skip"
else:
- return "unknown"
+ return "skip" # Skip files with unknown extensions. This
+ # deviates from ccc, but this works very well for
+ # the analyzer.
def main(args):
old_args = args
More information about the cfe-commits
mailing list