summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-09-08 18:15:05 +0000
committerGreg Clayton <gclayton@apple.com>2015-09-08 18:15:05 +0000
commitf73034f99a634ba9fa67960633753f729802b6c3 (patch)
treed2dd3872f57f667f3dfbfad09ff24e944627b386 /llvm/lib
parent21a145c341e0b2825fa7b58685bc27cac1a8cbcc (diff)
downloadbcm5719-llvm-f73034f99a634ba9fa67960633753f729802b6c3.tar.gz
bcm5719-llvm-f73034f99a634ba9fa67960633753f729802b6c3.zip
Use LLVM casting for TypeSystem so you can cast it to subclasses.
This will keep our code cleaner and it removes the need for intrusive additions to TypeSystem like: class TypeSystem { virtual ClangASTContext * AsClangASTContext() = 0; } As you can now just use the llvm::dyn_cast and other casts. llvm-svn: 247041
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud