[all-commits] [llvm/llvm-project] bf3efa: [clang][Interp] Handle DeclRefExpr of reference types
Timm Bäder via All-commits
all-commits at lists.llvm.org
Tue Sep 13 01:42:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf3efa8b1622080b29b2dc4ba57bdccd0ca1e889
https://github.com/llvm/llvm-project/commit/bf3efa8b1622080b29b2dc4ba57bdccd0ca1e889
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/arrays.cpp
A clang/test/AST/Interp/references.cpp
Log Message:
-----------
[clang][Interp] Handle DeclRefExpr of reference types
References are implemented through pointers, so we need a second deref
when encountering a DeclRefExpr of a reference type.
Differential Revision: https://reviews.llvm.org/D132997
Commit: 9b087a70e66c785f64279634c536a848e78261ea
https://github.com/llvm/llvm-project/commit/9b087a70e66c785f64279634c536a848e78261ea
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/PrimType.cpp
M clang/lib/AST/Interp/PrimType.h
Log Message:
-----------
[clang][Interp][NFC] Forward-declare Pointer in PrimType header
No need to include the full Pointer.h here.
Commit: f756ddba17c9f0f0ee49b45dd4b15b487aff9b67
https://github.com/llvm/llvm-project/commit/f756ddba17c9f0f0ee49b45dd4b15b487aff9b67
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/InterpFrame.h
Log Message:
-----------
[clang][Interp][NFC] InterpFrame: localBlock() can be const
Commit: 5d2451468c5f105bd7837f57c5e385fbbbdb65a4
https://github.com/llvm/llvm-project/commit/5d2451468c5f105bd7837f57c5e385fbbbdb65a4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/InterpFrame.h
Log Message:
-----------
[clang][Interp][NFC] InterpFrame::getLocal() can be const
Make localRef() const and use that.
Commit: b02f6890f52a48de6fc3a1d977a6ae50bc8fa984
https://github.com/llvm/llvm-project/commit/b02f6890f52a48de6fc3a1d977a6ae50bc8fa984
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/InterpFrame.h
Log Message:
-----------
[clang][Interp][NFC] InterpFrame::getParam can be const
Make stackRef() const as well and use that.
Commit: 53d8687a13e76b5a387e8df59ae231ab53ab9279
https://github.com/llvm/llvm-project/commit/53d8687a13e76b5a387e8df59ae231ab53ab9279
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M clang/lib/AST/Interp/Interp.h
Log Message:
-----------
[clang][Interp][NFC] Use constexpr if in OffsetHelper
Add is a template parameter, so we can use constexpr if here.
Compare: https://github.com/llvm/llvm-project/compare/6a49c801a7f6...53d8687a13e7
More information about the All-commits
mailing list