summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-21 02:08:10 +0000
committerAlp Toker <alp@nuanti.com>2014-05-21 02:08:10 +0000
commit7a1672c5c23b8a5707282062b916ca6c447da7a1 (patch)
treebcc92becee26d47d1017ec76a29e117ae7ceccd4
parent16b97825c5c0fc1aa5da7caa355e611695325370 (diff)
downloadclang-7a1672c5c23b8a5707282062b916ca6c447da7a1.tar.gz
clang-7a1672c5c23b8a5707282062b916ca6c447da7a1.tar.bz2
clang-7a1672c5c23b8a5707282062b916ca6c447da7a1.tar.xz
utils/CmpDriver: add brief documentation to indicate what this does
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209268 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xutils/CmpDriver5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/CmpDriver b/utils/CmpDriver
index 2533f547e9..12ce7a3250 100755
--- a/utils/CmpDriver
+++ b/utils/CmpDriver
@@ -1,5 +1,10 @@
#!/usr/bin/env python
+"""
+A simple utility that compares tool invocations and exit codes issued by
+compiler drivers that support -### (e.g. gcc and clang).
+"""
+
import subprocess
def splitArgs(s):