aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-03-06 18:20:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-03-06 18:20:20 +0000
commitf9aa3635fccb3dc0925ef4d27dfa2b692a8e6a90 (patch)
tree86f79fa8d49322025b4b307166b9e73abe036cab /lib/Driver/Tools.cpp
parent81e722e2c1195a90825ceaaa90f4a14b7df09b41 (diff)
AST: Move several Type::is...Type() functions to be inline.
- These functions are both (a) very commonly called and (b) excellent candidates for CSE in the callers in which they are commonly used. - That isHalfType() is hot makes me sad, but it is trivially when inlined (and a huge waste of time when not!!!). - The extra IsEnumDeclComplete() function is a hack to break the cycle between Type.h and Decl.h, I'm not sure of how to do this more cleanly, but am open to ideas. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions