[PATCH] D133088: [Clang] Fix wrong diagnostic for scope identifier with internal linkage

pmor via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 10 02:04:27 PDT 2022


pmor13 added a comment.

@aaron.ballman

> block scope variable to have *internal* linkage instead of *no* linkage

  static int x;
  
  void f(void)
  {
      extern int x;  // block scope, internal linkage 
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133088



More information about the cfe-commits mailing list