aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/CodeCompletionTest.cpp
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2023-08-28 19:25:05 +0000
committerPiotr Zegar <me@piotrzegar.pl>2023-08-28 19:44:23 +0000
commitc6207f6e0d04f129b4ec2ada644c0224038f4705 (patch)
tree8d6bbf366e38cf76fe7e178b6131391c7abb4a8a /clang/unittests/Interpreter/CodeCompletionTest.cpp
parent9c760ca8ecfd570212b47a5e980d38575b879029 (diff)
downloadllvm-c6207f6e0d04f129b4ec2ada644c0224038f4705.zip
llvm-c6207f6e0d04f129b4ec2ada644c0224038f4705.tar.gz
llvm-c6207f6e0d04f129b4ec2ada644c0224038f4705.tar.bz2
[clang-tidy] Fix c_str() removal and cast addition when re-ordering arguments
The modernize-use-std-print check would get confused if it had to re-order field-width and precision arguments at the same time as adding casts or removing calls to c_str(). Fix this by tracking the argument indices and combining c_str() removal with argument re-ordering. Add missing test cases to lit check. Fixes https://github.com/llvm/llvm-project/issues/64033 Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D156616
Diffstat (limited to 'clang/unittests/Interpreter/CodeCompletionTest.cpp')
0 files changed, 0 insertions, 0 deletions