Author: Timm Bäder Date: 2023-07-09T15:49:32+02:00 New Revision: 1402c4313820da984805b70e1bb6661217706499
URL: https://github.com/llvm/llvm-project/commit/1402c4313820da984805b70e1bb6661217706499 DIFF: https://github.com/llvm/llvm-project/commit/1402c4313820da984805b70e1bb6661217706499.diff LOG: [clang][Interp][NFC] Remove duplicate private specifier Added: Modified: clang/lib/AST/Interp/Source.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Source.h b/clang/lib/AST/Interp/Source.h index 99ffce34c12fa6..a836eb09db7f86 100644 --- a/clang/lib/AST/Interp/Source.h +++ b/clang/lib/AST/Interp/Source.h @@ -56,12 +56,9 @@ class CodePtr final { } private: + friend class Function; /// Constructor used by Function to generate pointers. CodePtr(const char *Ptr) : Ptr(Ptr) {} - -private: - friend class Function; - /// Pointer into the code owned by a function. const char *Ptr; }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits