summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-05-02 14:24:30 +0000
committerDouglas Gregor <dgregor@apple.com>2012-05-02 14:24:30 +0000
commitadfe5afe3898a638a437b54967c01b85beeeaa8e (patch)
tree616b7162cca520686243e9898e4eb604209e8f85 /clang/lib/Parse/Parser.cpp
parentae7188d9b9c055effa6e2952682dfe5c94c55b51 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud