[PATCH] Use correct semantic DeclContext for local declarations of variables and functions with linkage

Richard Smith richard at metafoo.co.uk
Tue Sep 3 18:52:33 PDT 2013


  Added requested testcases, removed (separately-committed) refactoring.

Hi doug.gregor, eli.friedman,

http://llvm-reviews.chandlerc.com/D1499

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1499?vs=3734&id=4009#toc

Files:
  include/clang/AST/DeclBase.h
  include/clang/AST/Decl.h
  include/clang/Sema/Lookup.h
  include/clang/Sema/Sema.h
  www/cxx_dr_status.html
  lib/Serialization/ASTReaderDecl.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaAccess.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  lib/Sema/SemaLookup.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaCodeComplete.cpp
  lib/Sema/SemaDecl.cpp
  test/CodeGenCXX/mangle.cpp
  test/Index/usrs.m
  test/CXX/drs/dr0xx.cpp
  test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp
  test/CXX/basic/basic.link/p7.cpp
  test/SemaCXX/cxx0x-initializer-references.cpp
  test/SemaCXX/warn-unreachable.cpp
  test/SemaCXX/extern-c.cpp
  test/SemaCXX/blocks-1.cpp
  test/SemaCXX/function-redecl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1499.3.patch
Type: text/x-patch
Size: 47300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130903/d2171609/attachment.bin>


More information about the cfe-commits mailing list