[all-commits] [llvm/llvm-project] 193db1: [clang][Interp][NFC] Make pointer chain management...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Sun Jul 9 07:38:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 193db1ebf09ac8a7661b4273e2847de34430a9af
https://github.com/llvm/llvm-project/commit/193db1ebf09ac8a7661b4273e2847de34430a9af
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-07-09 (Sun, 09 Jul 2023)
Changed paths:
M clang/lib/AST/Interp/InterpBlock.cpp
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/Pointer.cpp
Log Message:
-----------
[clang][Interp][NFC] Make pointer chain management more robust
Add a bunch of assertions to ensure we're doing the right thing. Also,
rename movePointer to replacePointer, since the old name didn't make
much sense.
Commit: 254ad7dd412308855ca29b97e9fd8079088cbef5
https://github.com/llvm/llvm-project/commit/254ad7dd412308855ca29b97e9fd8079088cbef5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-07-09 (Sun, 09 Jul 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/Program.cpp
Log Message:
-----------
[clang][Interp][NFC] Move isGloballyIndexed() to Context
And use it in Program as well, to make a similar decision.
Commit: c54ff51be9c1192214eb56fc5c8dea2b73557406
https://github.com/llvm/llvm-project/commit/c54ff51be9c1192214eb56fc5c8dea2b73557406
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-07-09 (Sun, 09 Jul 2023)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/constexpr-nqueens.cpp
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Emit correct diagnostic for uninitialized reads
Differential Revision: https://reviews.llvm.org/D154758
Compare: https://github.com/llvm/llvm-project/compare/b9e167994f01...c54ff51be9c1
More information about the All-commits
mailing list