aboutsummaryrefslogtreecommitdiff
path: root/unittests/ADT/TinyPtrVectorTest.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-11-30 10:06:59 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2012-11-30 10:06:59 +0000
commit58b45535495d20639849abf7a5605be5c8304b66 (patch)
treed6904bb2527e461b069e5e2ca2810b69ae8ef1a0 /unittests/ADT/TinyPtrVectorTest.cpp
parent66ea2f99867ffc8606737199e359516fd1cfc67c (diff)
More strict error checking in parseSpecifier + simplified code.
For example, don't allow empty strings to be passed to getInt. Move asserts inside parseSpecifier. (One day we may want to pass parse error messages to the user - from LLParser - instead of using asserts, but keep the code simple until then. There have been an attempt to do this. See r142288, which got reverted, and r142605.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/TinyPtrVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions