diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2011-12-12 23:36:07 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2011-12-12 23:36:07 +0000 |
| commit | db103cc92518a3986a12802b06db74371e2cfce8 (patch) | |
| tree | 888494805f7e0c73986663c634469875de1e9f78 /lib/Driver/Tools.cpp | |
| parent | 9d24a8be93b28488dbfb9bbe8aa6fe35b21a5b0c (diff) | |
| download | clang-db103cc92518a3986a12802b06db74371e2cfce8.tar.gz clang-db103cc92518a3986a12802b06db74371e2cfce8.tar.bz2 clang-db103cc92518a3986a12802b06db74371e2cfce8.tar.xz | |
Fix "control may reach end of non-void function" warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
| -rw-r--r-- | lib/Driver/Tools.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 46ec09c2f2..50b9b418e1 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -990,8 +990,7 @@ static const char *getHexagonTargetCPU(const ArgList &Args) assert(0 && "Unknown -m argument."); } } - else - return "hexagonv2"; + return "hexagonv2"; } void Clang::AddHexagonTargetArgs(const ArgList &Args, |
