[all-commits] [llvm/llvm-project] 1ba89d: [AST]Fix Location and Range for reversed rewritten...
Fred Tingaud via All-commits
all-commits at lists.llvm.org
Fri Apr 17 06:16:12 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ba89ddd9b2baa5e5a1fdd98dfccc07cbfc1c0c3
https://github.com/llvm/llvm-project/commit/1ba89ddd9b2baa5e5a1fdd98dfccc07cbfc1c0c3
Author: Fred Tingaud <95592999+frederic-tingaud-sonarsource at users.noreply.github.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/Stmt.h
M clang/lib/AST/ExprCXX.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
A clang/test/AST/ast-dump-cxx20-reversed-operator.cpp
Log Message:
-----------
[AST]Fix Location and Range for reversed rewritten CXXOperatorCallExpr (#192467)
In C++20+, when `a != b` is automatically rewritten to `!(b == a)`, the
range and sourceLocation of the generated nodes are incorrect and the
range has begin > end.
Assisted-by: Claude code
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list