cor3ntin added inline comments.
================ Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:2172-2173 + // Lazily visit global declarations we haven't seen yet. + // This happens in C. + if (const auto *VD = dyn_cast<VarDecl>(D); ---------------- tbaeder wrote: > aaron.ballman wrote: > > Do we want to assert/limit this functionality to C instead of doing it in > > both C and C++? > I never know how to do something for just C. I know there's stuff in > `LangOpts` for C++, but no `LangOpts::C`? `!LangOpts.CPlusPlus` afaik CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156794/new/ https://reviews.llvm.org/D156794 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits