summaryrefslogtreecommitdiffstats
path: root/tools/scan-build-py/bin/analyze-c++
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scan-build-py/bin/analyze-c++')
-rw-r--r--tools/scan-build-py/bin/analyze-c++14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/scan-build-py/bin/analyze-c++ b/tools/scan-build-py/bin/analyze-c++
new file mode 100644
index 0000000000..15186d89aa
--- /dev/null
+++ b/tools/scan-build-py/bin/analyze-c++
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+
+import sys
+import os.path
+this_dir = os.path.dirname(os.path.realpath(__file__))
+sys.path.append(os.path.dirname(this_dir))
+
+from libscanbuild.analyze import analyze_build_wrapper
+sys.exit(analyze_build_wrapper(True))