diff options
| author | Tobias Hieta <tobias.hieta@ubisoft.com> | 2022-11-07 08:34:40 +0100 |
|---|---|---|
| committer | Tobias Hieta <tobias@hieta.se> | 2022-11-07 08:34:57 +0100 |
| commit | 70de684d44135b4025d92b2b36ad387cf5ab8b5a (patch) | |
| tree | 9c607e577e231b012df9c8d88aabc1927cd24449 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 9a3b969d1faa77d4c629ddb797d317579fbe0555 (diff) | |
[clang-format] Handle object instansiation in if-statements
Before this patch code like this:
```
if (Class* obj{getObject()}) { }
```
would be mis-formated since the * would be annotated as a
binaryoperator.
This patch changes the * to become a PointerOrReference instead
and fixes the formatting issues.
Reviewed By: HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D137327
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
