diff options
| author | Clement Courbet <courbet@google.com> | 2017-07-11 15:45:22 +0000 |
|---|---|---|
| committer | Clement Courbet <courbet@google.com> | 2017-07-11 15:45:22 +0000 |
| commit | 43bdba4086b2a849b00eaec86cc76917c7ac60eb (patch) | |
| tree | c26b8c70ca4a8dcc5065b68eb24713c9feda30b5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 4ba87d01bcf18ab3ae7ad67a2faeddd55ebc46a1 (diff) | |
[ASTMatchers][NFC] integerLiteral(): Mention negative integers in
documentation.
Trying to match integerLiteral(-1) will silently fail, because an numeric
literal is always positive.
- Update the documentation to explain how to match negative numeric
literals.
- Add a unit test.
Differential Revision: https://reviews.llvm.org/D35196
llvm-svn: 307663
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
