aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authormydeveloperday <mydeveloperday@gmail.com>2022-01-13 07:53:00 +0000
committermydeveloperday <mydeveloperday@gmail.com>2022-01-13 07:57:45 +0000
commit7ee4236789bb8272cf3a2feedd75336e52f33e78 (patch)
treebf1f80cf1e72c959b4aeee526a5eb35157fa5829 /llvm/lib/IR/Module.cpp
parentbb13036483d2748716595dc28d7b18c5234176c9 (diff)
downloadllvm-7ee4236789bb8272cf3a2feedd75336e52f33e78.zip
llvm-7ee4236789bb8272cf3a2feedd75336e52f33e78.tar.gz
llvm-7ee4236789bb8272cf3a2feedd75336e52f33e78.tar.bz2
[clang-format] clang-format eats space in front of attributes for operator delete
https://github.com/llvm/llvm-project/issues/27037 Sorry its taken so long to get to this issue! (got it before it hit its 6th birthday!) ``` void operator delete(void *foo)ATTRIB; ``` (void *foo) is incorrectly determined to be a C-Style Cast resulting in the space being removed after the ) and before the attrib, due to the detection of ``` delete (A* )a; ``` The following was previously unaffected ``` void operator new(void *foo) ATTRIB; ``` Fixes #27037 Reviewed By: curdeius, HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D116920
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions