Author: Timm Bäder Date: 2023-02-03T15:35:42+01:00 New Revision: 0505c0b8cc998399979fcb970634dc8ee974dc7d
URL: https://github.com/llvm/llvm-project/commit/0505c0b8cc998399979fcb970634dc8ee974dc7d DIFF: https://github.com/llvm/llvm-project/commit/0505c0b8cc998399979fcb970634dc8ee974dc7d.diff LOG: [clang][Interp][NFC] Make VariableScope::getParent() const Added: Modified: clang/lib/AST/Interp/ByteCodeExprGen.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/ByteCodeExprGen.h b/clang/lib/AST/Interp/ByteCodeExprGen.h index 540b9ec2f3d4..6b16b62a2e58 100644 --- a/clang/lib/AST/Interp/ByteCodeExprGen.h +++ b/clang/lib/AST/Interp/ByteCodeExprGen.h @@ -297,7 +297,7 @@ template <class Emitter> class VariableScope { virtual void emitDestruction() {} - VariableScope *getParent() { return Parent; } + VariableScope *getParent() const { return Parent; } protected: /// ByteCodeExprGen instance. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits