aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-06-07 07:26:46 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-06-07 07:26:46 +0000
commit0aa6a74a79c917988379453095119a6cc0f3c0f7 (patch)
tree2274755d23d7642590ec33155ccacbb8279b10dc /clang/lib/Basic/SourceManager.cpp
parent5a996fc0fc23093ceac58e3f8c34d8cc9feaf061 (diff)
downloadllvm-0aa6a74a79c917988379453095119a6cc0f3c0f7.zip
llvm-0aa6a74a79c917988379453095119a6cc0f3c0f7.tar.gz
llvm-0aa6a74a79c917988379453095119a6cc0f3c0f7.tar.bz2
Create FunctionType::isValidArgumentType to go along with isValidReturnType.
Also create isValidElementType for ArrayType, PointerType, StructType and VectorType. Make LLParser use them. This closes up some holes like an assertion failure on: %x = type {label} but largely doesn't change any semantics. The only thing we accept now which we didn't before is vectors of opaque type such as "<4 x opaque>". The opaque can be resolved to an int or float when linking. llvm-svn: 73016
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions