aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2025-09-30 06:33:29 +0200
committerGitHub <noreply@github.com>2025-09-30 06:33:29 +0200
commit32baec4483d8723f594e04918d6a22d9d1423606 (patch)
tree409062d76a019fe7a1c1ebbd76d145f874ee05dc /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent56d920d5868596f48a3a779dc88825594a646af3 (diff)
downloadllvm-32baec4483d8723f594e04918d6a22d9d1423606.zip
llvm-32baec4483d8723f594e04918d6a22d9d1423606.tar.gz
llvm-32baec4483d8723f594e04918d6a22d9d1423606.tar.bz2
[clang][Diags] Automatically format AP(S)Int values with separators (#161047)
This adds an `operator<<` overload for `StreamingDiagnostic` that takes an `APInt`/`APSInt` and formats it with default options, including adding separators. This is still an opt-in mechanism since all callers that want to use this feature need to be changed from ```c++ Diag() << toString(MyInt, 10); ``` to ```c++ Diag() << MyInt; ``` This patch contains one example of a diagnostic making use of this.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions