Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: tools/clang_check/cxx_wrapper.sh

Issue 6368055: Commit my clang plugin and fix up documentation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add makefile for thakis Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/clang_check/cxx_wrapper.sh
diff --git a/tools/clang_check/cxx_wrapper.sh b/tools/clang_check/cxx_wrapper.sh
deleted file mode 100755
index 9f0ff0f482879280938e1483051ac67be886105e..0000000000000000000000000000000000000000
--- a/tools/clang_check/cxx_wrapper.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-#
-# Strip out any parameters that will make clang do anything other than syntax
-# checking.
-TARGETOBJ=`echo $@ | sed -e 's/.*-o \(.*\.o\).*/\1/;'`
-
-ADJUSTED=`echo "$@" | sed -e 's/ -c / /g;' |\
- sed -e 's/ -O0 / /g;' |\
- sed -e 's/ -g / /g;' |\
- sed -e 's/Google Inc/GoogleInc/g;' |\
- sed -e 's/ -Wunused-value / /g;' |\
- sed -e 's/ -Wswitch-enum / /g;' |\
- sed -e 's/ -pipe / /g;' |\
- sed -e 's/ -o.*\.o / /g;'`
-
-clang++ -fsyntax-only $ADJUSTED && touch "$TARGETOBJ"

Powered by Google App Engine
This is Rietveld 408576698