llvm-project/clang/lib/Format
Yilong Guo 873308fd8c [Format] Fix incorrect pointer/reference detection
https://llvm.org/PR50568

When an overloaded operator is called, its argument must be an
expression.

Before:
    void f() { a.operator()(a *a); }

After:
    void f() { a.operator()(a * a); }

Reviewed By: HazardyKnusperkeks, curdeius, MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D103678
2021-06-17 09:34:06 +01:00
..
AffectedRangeManager.cpp
AffectedRangeManager.h
BreakableToken.cpp [clang-format] Fix MSVC "unsafe use of type 'bool' in operation" warning (NFC) 2021-02-03 10:50:59 +08:00
BreakableToken.h [clang-format] Add option to control the spaces in a line comment 2021-02-01 22:48:50 +01:00
CMakeLists.txt
ContinuationIndenter.cpp clang-format: use `pb` as a canonical raw string delimiter for google style 2021-03-09 09:07:14 +01:00
ContinuationIndenter.h
Encoding.h
Format.cpp [clang-format] Adds a formatter for aligning arrays of structs 2021-06-13 21:14:37 +02:00
FormatInternal.h
FormatToken.cpp
FormatToken.h [clang-format] Adds a formatter for aligning arrays of structs 2021-06-13 21:14:37 +02:00
FormatTokenLexer.cpp [clang-format] Rename common types between C#/JS 2021-05-06 12:12:58 +02:00
FormatTokenLexer.h [clang-format] Add more support for C# 8 nullables 2021-05-06 11:58:38 +02:00
MacroExpander.cpp
Macros.h
NamespaceEndCommentsFixer.cpp [clang-format][PR47290] Add ShortNamespaceLines format option 2021-03-01 21:28:14 +01:00
NamespaceEndCommentsFixer.h
SortJavaScriptImports.cpp clang-format: [JS] don't sort named imports if off. 2021-06-11 12:02:33 +02:00
SortJavaScriptImports.h
TokenAnalyzer.cpp
TokenAnalyzer.h
TokenAnnotator.cpp [Format] Fix incorrect pointer/reference detection 2021-06-17 09:34:06 +01:00
TokenAnnotator.h [clang-format] Adds a formatter for aligning arrays of structs 2021-06-13 21:14:37 +02:00
UnwrappedLineFormatter.cpp [clang-format] Add PPIndentWidth option 2021-06-03 17:55:11 +02:00
UnwrappedLineFormatter.h
UnwrappedLineParser.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
UnwrappedLineParser.h [clang-format] Fix C# nullable-related errors 2021-05-06 12:11:15 +02:00
UsingDeclarationsSorter.cpp
UsingDeclarationsSorter.h
WhitespaceManager.cpp [NFC] Remove unused variable 2021-06-14 10:57:26 -07:00
WhitespaceManager.h [clang-format] Adds a formatter for aligning arrays of structs 2021-06-13 21:14:37 +02:00