Commit 549d0da4 authored by thakis@chromium.org's avatar thakis@chromium.org

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
parent c7593fb2
...@@ -23,9 +23,9 @@ usage() { ...@@ -23,9 +23,9 @@ usage() {
# Runs a single test case. # Runs a single test case.
do_testcase() { do_testcase() {
local output="$("${CLANG_DIR}"/bin/clang -cc1 \ local output="$("${CLANG_DIR}"/bin/clang -c \
-load "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \ -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \
-plugin find-bad-constructs ${1} 2>&1)" -Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)"
local diffout="$(echo "${output}" | diff - "${2}")" local diffout="$(echo "${output}" | diff - "${2}")"
if [ "${diffout}" = "" ]; then if [ "${diffout}" = "" ]; then
echo "PASS: ${1}" echo "PASS: ${1}"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Do NOT CHANGE this if you don't know what you're doing -- see # Do NOT CHANGE this if you don't know what you're doing -- see
# http://code.google.com/p/chromium/wiki/UpdatingClang # http://code.google.com/p/chromium/wiki/UpdatingClang
CLANG_REVISION=143497 CLANG_REVISION=144521
THIS_DIR="$(dirname "${0}")" THIS_DIR="$(dirname "${0}")"
LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment