[PATCH] D70696: [DebugInfo] Support to emit debugInfo for extern variables

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 10:25:13 PST 2019


aprantl added inline comments.


================
Comment at: clang/lib/Sema/Sema.cpp:1140
 
+  for (auto D: ExternalDeclarations) {
+    if (!D || D->isInvalidDecl() || D->getPreviousDecl() || !D->isUsed())
----------------
clang-format


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70696/new/

https://reviews.llvm.org/D70696





More information about the cfe-commits mailing list