Add a helper for telling whether a type is a pointer or vector of pointer type.
authorDuncan Sands <baldrick@free.fr>
Tue, 30 Oct 2012 13:38:54 +0000 (13:38 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 30 Oct 2012 13:38:54 +0000 (13:38 +0000)
commit7adfe3fd60f2480969f307b5dd377864f7c3eacd
tree40ef01599d274715f3ee06b5e05b22729f6d96c3
parent3467b9fd5d0c4ebc726e96c2af96610e2d6915f9
Add a helper for telling whether a type is a pointer or vector of pointer type.
Simplify the implementation of the corresponding integer and float functions and
move them inline while there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167014 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Type.h
lib/VMCore/Type.cpp