summaryrefslogtreecommitdiffstats
path: root/tools/clang
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 23:54:34 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 23:54:34 +0000
commit549d0da4062e8966449976b29d35b964a6cdcc03 (patch)
tree0ddbc570837f813404903a1f9532e9e2b8a18ad8 /tools/clang
parentc7593fb293c58ccb4bcd290d476e9e03d82c2934 (diff)
downloadchromium_src-549d0da4062e8966449976b29d35b964a6cdcc03.zip
chromium_src-549d0da4062e8966449976b29d35b964a6cdcc03.tar.gz
chromium_src-549d0da4062e8966449976b29d35b964a6cdcc03.tar.bz2
Roll clang 143497:144521
Linux directory detection is now done in the driver instead of in the frontend, so let the plugin test script invoke the driver instead of clang -cc1 (else it won't find <string> etc on linux). BUG=none TEST=none TBR=hans Review URL: http://codereview.chromium.org/8538027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/clang')
-rwxr-xr-xtools/clang/plugins/tests/test.sh6
-rwxr-xr-xtools/clang/scripts/update.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh
index c74cd3a..fcfd213 100755
--- a/tools/clang/plugins/tests/test.sh
+++ b/tools/clang/plugins/tests/test.sh
@@ -23,9 +23,9 @@ usage() {
# Runs a single test case.
do_testcase() {
- local output="$("${CLANG_DIR}"/bin/clang -cc1 \
- -load "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
- -plugin find-bad-constructs ${1} 2>&1)"
+ local output="$("${CLANG_DIR}"/bin/clang -c \
+ -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
+ -Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)"
local diffout="$(echo "${output}" | diff - "${2}")"
if [ "${diffout}" = "" ]; then
echo "PASS: ${1}"
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index 0cfa558..c3eae93 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -7,7 +7,7 @@
# Do NOT CHANGE this if you don't know what you're doing -- see
# http://code.google.com/p/chromium/wiki/UpdatingClang
-CLANG_REVISION=143497
+CLANG_REVISION=144521
THIS_DIR="$(dirname "${0}")"
LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"