Use .txt extension for info files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56598 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 3a2f0f2..b3d59df 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -41,13 +41,13 @@
system $CC, @$Args, "-E", "-o", $PPFile;
close ($PPH);
- open (OUT, ">", "$PPFile.info") or die "Cannot open $PPFile.info\n";
+ open (OUT, ">", "$PPFile.info.txt") or die "Cannot open $PPFile.info.txt\n";
print OUT abs_path($file), "\n";
print OUT "$ErrorType\n";
print OUT "@$Args\n";
close OUT;
- `uname -a >> $PPFile.info 2>&1`;
- `$CC -v >> $PPFile.info 2>&1`;
+ `uname -a >> $PPFile.info.txt 2>&1`;
+ `$CC -v >> $PPFile.info.txt 2>&1`;
system 'mv',$ofile,"$PPFile.stderr.txt";
}