diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-12 16:14:48 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-10-12 16:14:48 +0000 |
commit | 3768ad6d58d78502d51281470df80ec6b8168e2a (patch) | |
tree | 3d3902a683c39a65c7cfc2e592b309f86b13ea52 /llvm/test/FrontendC/2002-04-08-LocalArray.c | |
parent | 46a9c01fff127d33037acce7e1bc186615b4f2c7 (diff) | |
download | bcm5719-llvm-3768ad6d58d78502d51281470df80ec6b8168e2a.tar.gz bcm5719-llvm-3768ad6d58d78502d51281470df80ec6b8168e2a.zip |
Implement more efficient Decl <-> DeclContext conversions.
When the static type on the Decl side is a subclass of DeclContext the compiler will use a "inlinable" static_cast, instead of always using an out-of-line function call.
Note, though, that the isa<> check still uses an out-of-line function call.
llvm-svn: 57415
Diffstat (limited to 'llvm/test/FrontendC/2002-04-08-LocalArray.c')
0 files changed, 0 insertions, 0 deletions