diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-11-30 10:06:59 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-11-30 10:06:59 +0000 |
commit | 086ee1ee502f703e07692cf10cfb1c54d3a60f25 (patch) | |
tree | 8446fbd219b81792254a8df7acf64ca63217d11d /clang/lib/Serialization/ModuleManager.cpp | |
parent | 6a786e66cf047d64636e910f8678015cfaa5e55b (diff) | |
download | llvm-086ee1ee502f703e07692cf10cfb1c54d3a60f25.zip llvm-086ee1ee502f703e07692cf10cfb1c54d3a60f25.tar.gz llvm-086ee1ee502f703e07692cf10cfb1c54d3a60f25.tar.bz2 |
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.)
llvm-svn: 168991
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions