aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-26 00:01:10 +0000
committerChris Lattner <sabre@nondot.org>2012-01-26 00:01:10 +0000
commit40a279e1c5a8504cd16938607618e4be1e7c9dca (patch)
tree59ac698ad5ac215c3e83ff2e196c17695ab24b40 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent1dcb654311303742671154ec3072062125d4c13f (diff)
downloadllvm-40a279e1c5a8504cd16938607618e4be1e7c9dca.zip
llvm-40a279e1c5a8504cd16938607618e4be1e7c9dca.tar.gz
llvm-40a279e1c5a8504cd16938607618e4be1e7c9dca.tar.bz2
Ok, break down and add some cast<>'ing helper methods to the Type class
to reduce the number of cast<>'s we have. This allows someone to use things like Ty->getVectorNumElements() instead of cast<VectorType>(Ty)->getNumElements() when you know that a type is a vector. It would be a great general cleanup to move the codebase to use these, I will do so in the code I'm touching. llvm-svn: 148999
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions