diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-05-02 14:24:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-05-02 14:24:30 +0000 |
commit | adfe5afe3898a638a437b54967c01b85beeeaa8e (patch) | |
tree | 616b7162cca520686243e9898e4eb604209e8f85 /clang/lib/Parse/Parser.cpp | |
parent | ae7188d9b9c055effa6e2952682dfe5c94c55b51 (diff) | |
download | bcm5719-llvm-adfe5afe3898a638a437b54967c01b85beeeaa8e.tar.gz bcm5719-llvm-adfe5afe3898a638a437b54967c01b85beeeaa8e.zip |
Replace the StringSwitch in AttributeList::getKind(const
IdentifierInfo *) with a static StringMap, improving -fsyntax-only
performance by 1% for the example in <rdar://problem/11004361>.
llvm-svn: 155987
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions