aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-12-17 22:46:41 +0000
committerEric Christopher <echristo@apple.com>2010-12-17 22:46:41 +0000
commitdf344dfb663f99184e734f5d14b5fc9b2725aec2 (patch)
treefb30d432db481d2336df2340ddf1c55135250855 /lib/Driver/Driver.cpp
parentdd4430e596fac34e9ce44228a249f71e73effd4a (diff)
Going back to the drawing board with these two awful hacks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index d29a0997ef..e8cfd711a3 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -418,11 +418,8 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
return false;
}
- // This is a horrible hack. Some projects depend on gcc-like versions
- // coming out of gcc -dumpversion to determine if the gcc compatible
- // compiler has a correct version. Ideally we'd fix all of those projects.
if (C.getArgs().hasArg(options::OPT_dumpversion)) {
- llvm::outs() << GCC_COMPAT_VERSION_STRING "\n";
+ llvm::outs() << CLANG_VERSION_STRING "\n";
return false;
}