Index: tools/clang/scripts/plugin_flags.sh |
diff --git a/tools/clang/scripts/plugin_flags.sh b/tools/clang/scripts/plugin_flags.sh |
index ec3eed6c067bfea21ab36ec4bfce4a44c7d01173..bd9f547ba6b1f31defdce05bb41de335c11a8a44 100755 |
--- a/tools/clang/scripts/plugin_flags.sh |
+++ b/tools/clang/scripts/plugin_flags.sh |
@@ -1,5 +1,5 @@ |
#!/bin/bash |
-# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2012 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. |
@@ -17,4 +17,5 @@ else |
fi |
echo -Xclang -load -Xclang $CLANG_LIB_PATH/libFindBadConstructs.$LIBSUFFIX \ |
- -Xclang -add-plugin -Xclang find-bad-constructs |
+ -Xclang -add-plugin -Xclang find-bad-constructs \ |
+ -Xclang -plugin-arg-find-bad-constructs -Xclang skip-refcounted-dtors |