[PATCH] D45978: dllexport const variables must have external linkage.

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 13 07:36:31 PST 2019


thakis added inline comments.


================
Comment at: lib/Sema/SemaDecl.cpp:11370
 
+    // In Microsoft C++ mode, a const variable defined in namespace scope has
+    // external linkage by default if the variable is declared with
----------------
Even in unnamed namespaces?


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

https://reviews.llvm.org/D45978





More information about the cfe-commits mailing list