llvm/lib/AsmParser
Duncan P. N. Exon Smith a9902daa5c Verifier: Check fields of MDVariable subclasses
Check fields from `MDLocalVariable` and `MDGlobalVariable` and change
the accessors to downcast to the right types.  `getType()` still returns
`Metadata*` since it could be an `MDString`-based reference.

Since local variables require non-null scopes, I also updated `LLParser`
to require a `scope:` field.

A number of testcases had grown bitrot and started failing with this
patch; I committed them separately in r233349.  If I just broke your
out-of-tree testcases, you're probably hitting similar problems (so have
a look there).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233389 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-27 17:29:58 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LLLexer.cpp AsmParser/Writer: Handle symbolic constants in DI 'flags:' 2015-02-21 01:02:18 +00:00
LLLexer.h AsmParser: Don't crash if a null byte is inside a quoted string 2014-12-10 00:43:17 +00:00
LLParser.cpp Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
LLParser.h Revert "unique_ptrify ValID::ConstantStructElts" 2015-03-04 18:31:10 +00:00
LLToken.h AsmParser/Writer: Handle symbolic constants in DI 'flags:' 2015-02-21 01:02:18 +00:00
LLVMBuild.txt
Makefile
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Parser.cpp Add missing includes. make_unique proliferated everywhere. 2015-03-01 21:28:53 +00:00