[all-commits] [llvm/llvm-project] 6d73cc: [clang][Interp] Lazily visit unknown global declar...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Thu Sep 14 23:50:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d73cca1864b78cbc3944eb92b6916df36061eb9
https://github.com/llvm/llvm-project/commit/6d73cca1864b78cbc3944eb92b6916df36061eb9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Lazily visit unknown global declarations
In C, we don't get a evaluateAsInitializer() call for all global
declarations, yet we have to handle DeclRefExpr pointing to them.
Differential Revision: https://reviews.llvm.org/D156794
More information about the All-commits
mailing list