[clang] 17a98cb - [NFC][Clang][DebugInfo] Fix constructor type comment (#192949)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 20 06:27:02 PDT 2026
Author: J. Ryan Stinnett
Date: 2026-04-20T14:26:56+01:00
New Revision: 17a98cb3114d99fb0e664d3028195c0f979f604e
URL: https://github.com/llvm/llvm-project/commit/17a98cb3114d99fb0e664d3028195c0f979f604e
DIFF: https://github.com/llvm/llvm-project/commit/17a98cb3114d99fb0e664d3028195c0f979f604e.diff
LOG: [NFC][Clang][DebugInfo] Fix constructor type comment (#192949)
This corrects a constructor comment to say move instead of copy.
Added:
Modified:
clang/lib/CodeGen/CGDebugInfo.h
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 0922c629afc46..f4b5471648399 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -939,7 +939,7 @@ class ApplyDebugLocation {
Other.CGF = nullptr;
}
- // Define copy assignment operator.
+ // Define move assignment operator.
ApplyDebugLocation &operator=(ApplyDebugLocation &&Other) {
if (this != &Other) {
CGF = Other.CGF;
More information about the cfe-commits
mailing list