aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2023-08-07 09:37:21 +0100
committerThomas Preud'homme <thomas.preudhomme@arm.com>2023-08-07 14:48:48 +0100
commit0726cb00471850ead0835e5d3806c7aef5bb0b21 (patch)
tree70465cd1fbf96c46e5a0a323f666f20ca609919e /clang/lib/Frontend/CompilerInvocation.cpp
parent39d8876da363f8d8bde0d3ed65a4b127588fbc6e (diff)
downloadllvm-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