diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2023-08-07 09:37:21 +0100 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2023-08-07 14:48:48 +0100 |
commit | 0726cb00471850ead0835e5d3806c7aef5bb0b21 (patch) | |
tree | 70465cd1fbf96c46e5a0a323f666f20ca609919e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 39d8876da363f8d8bde0d3ed65a4b127588fbc6e (diff) | |
download | llvm-0726cb00471850ead0835e5d3806c7aef5bb0b21.zip llvm-0726cb00471850ead0835e5d3806c7aef5bb0b21.tar.gz llvm-0726cb00471850ead0835e5d3806c7aef5bb0b21.tar.bz2 |
[FileCheck, 3/4] Allow AP value for numeric expressions
Use APInt to represent numeric variables and expressions, therefore
removing overflow concerns. Only remains underflow when the format of an
expression is unsigned (incl. hex values) but the result is negative.
Note that this can only happen when substituting an expression, not when
capturing since the regex used to capture unsigned value will not include
minus sign, hence all the code removal for match propagation testing.
This is what this patch implement.
Reviewed By: arichardson
Differential Revision: https://reviews.llvm.org/D150880
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions