summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2013-11-11 19:01:05 +0000
committerSylvestre Ledru <sylvestre@debian.org>2013-11-11 19:01:05 +0000
commit1cd76b1a44d74e9e2e8b8fcacc2d7ec290b54b76 (patch)
tree9beb908c9c14314924378f849c4d1618be6a768b /lib/CodeGen/CGExprComplex.cpp
parent246e2f65dcdb47a2a07b6d0f8f6f338954e24c45 (diff)
downloadclang-1cd76b1a44d74e9e2e8b8fcacc2d7ec290b54b76.tar.gz
clang-1cd76b1a44d74e9e2e8b8fcacc2d7ec290b54b76.tar.bz2
clang-1cd76b1a44d74e9e2e8b8fcacc2d7ec290b54b76.tar.xz
Using an invalid -O falls back on -O3 instead of an error
Summary: Currently with clang: $ clang -O20 foo.c error: invalid value '20' in '-O20' With the patch: $ clang -O20 foo.c warning: invalid value '20' in '-O20'. Fall back on value '3' Reviewers: rengolin, hfinkel Reviewed By: rengolin CC: cfe-commits, hfinkel, rengolin Differential Revision: http://llvm-reviews.chandlerc.com/D2125 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions