[all-commits] [llvm/llvm-project] 21c18d: [Format] Fix incorrect pointer detection
Yilong Guo via All-commits
all-commits at lists.llvm.org
Fri Jun 4 00:39:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21c18d5a04316891110cecc2bf37ce51533decba
https://github.com/llvm/llvm-project/commit/21c18d5a04316891110cecc2bf37ce51533decba
Author: Yilong Guo <yilong.guo at intel.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[Format] Fix incorrect pointer detection
https://llvm.org/PR50429
Before:
void f() { f(float(1), a *a); }
After:
void f() { f(float(1), a * a); }
Signed-off-by: Yilong Guo <yilong.guo at intel.com>
Reviewed By: HazardyKnusperkeks, curdeius
Differential Revision: https://reviews.llvm.org/D103589
More information about the All-commits
mailing list