[clang] [clang-tools-extra] WIP: Extend SourceLocation to 64 bits. (PR #146314)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 30 07:58:26 PDT 2025
================
@@ -698,8 +703,7 @@ class DeclarationNameLoc {
// The location (if any) of the operator keyword is stored elsewhere.
struct CXXOpName {
- SourceLocation::UIntTy BeginOpNameLoc;
- SourceLocation::UIntTy EndOpNameLoc;
+ CXXOperatorSourceInfo* OInfo;
----------------
hokein wrote:
I don't see the performance impact on this indirection -- this is for the C++ operation call, which is rare in practice (the perf here https://llvm-compile-time-tracker.com/compare.php?from=ff5a67315305f59f91041bad8b905e161b872442&to=38c519de69b127faa823078d3faff5670bc60209&stat=instructions:u)
https://github.com/llvm/llvm-project/pull/146314
More information about the cfe-commits
mailing list