aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2014-11-11 00:50:10 +0000
committerSean Callanan <scallanan@apple.com>2014-11-11 00:50:10 +0000
commitf37ccc181d5ee776d319eb7dc0607b1a4d6f8a83 (patch)
tree62cc192b53fb5a99e3dfc7ed7ac5cde7457e5f3b /clang/lib/Frontend/CompilerInvocation.cpp
parent0becd57044aba667d0e10ed9c9c3697f30d96666 (diff)
downloadllvm-f37ccc181d5ee776d319eb7dc0607b1a4d6f8a83.zip
llvm-f37ccc181d5ee776d319eb7dc0607b1a4d6f8a83.tar.gz
llvm-f37ccc181d5ee776d319eb7dc0607b1a4d6f8a83.tar.bz2
Fixed two issues in the type encoding parser:
- A correctness issue: with assertions disabled, ReadQuotedString would misbehave; and - A performance issue: BuildType used a long chain of if()s; I changed that to two switch statements. That also makes the code much nicer to step through when debugging it. llvm-svn: 221651
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions