summaryrefslogtreecommitdiffstats
path: root/utils
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
commitdd63b28107f21692b5065588f0e90b4534946f93 (patch)
treeb903bd8a5676720110abb805f5fcd5584ef9faa9 /utils
parent8ff5b28d6efcffe2251e77634c7edf83a4763344 (diff)
Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/TestUtils/pch-test.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TestUtils/pch-test.pl b/utils/TestUtils/pch-test.pl
index 2e17117a2a..e097c5c00c 100755
--- a/utils/TestUtils/pch-test.pl
+++ b/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) {