summaryrefslogtreecommitdiffstats
path: root/clang/utils/TestUtils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-11 23:04:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-11 23:04:35 +0000
commit520d1e6c6be80b2da632e7be45b4d8d2b25415e4 (patch)
treed0e39102576698da7089dfa190c0de56b1ba7e68 /clang/utils/TestUtils
parente27e028cdd76065da6f376a75602d02422269c39 (diff)
downloadbcm5719-llvm-520d1e6c6be80b2da632e7be45b4d8d2b25415e4.tar.gz
bcm5719-llvm-520d1e6c6be80b2da632e7be45b4d8d2b25415e4.zip
Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
llvm-svn: 91176
Diffstat (limited to 'clang/utils/TestUtils')
-rwxr-xr-xclang/utils/TestUtils/pch-test.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/utils/TestUtils/pch-test.pl b/clang/utils/TestUtils/pch-test.pl
index 2e17117a2a2..e097c5c00c0 100755
--- a/clang/utils/TestUtils/pch-test.pl
+++ b/clang/utils/TestUtils/pch-test.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# This tiny little script, which should be run from the clang
-# directory (with clang-cc in your patch), tries to take each
+# directory (with clang in your patch), tries to take each
# compilable Clang test and build a PCH file from that test, then read
# and dump the contents of the PCH file just created.
use POSIX;
@@ -17,12 +17,12 @@ sub testfiles($$) {
@files = `ls test/*/*.$suffix`;
foreach $file (@files) {
chomp($file);
- my $code = system("clang-cc -fsyntax-only -x $language $file > /dev/null 2>&1");
+ my $code = system("clang- -fsyntax-only -x $language $file > /dev/null 2>&1");
if ($code == 0) {
print(".");
- $code = system("clang-cc -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1");
+ $code = system("clang -cc1 -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1");
if ($code == 0) {
- $code = system("clang-cc -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&1");
+ $code = system("clang -cc1 -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&1");
if ($code == 0) {
$passed++;
} elsif (($code & 0xFF) == SIGINT) {
OpenPOWER on IntegriCloud