[PATCH] Sema: Instantiating variable definitions weren't local enough
    David Majnemer 
    david.majnemer at gmail.com
       
    Wed Nov 20 23:46:37 PST 2013
    
    
  
Hi rsmith, doug.gregor,
We wouldn't properly save and restore the pending local instantiations
we had built up prior to instantiation of a variable definition.  This
would lead to us instantiating too much causing crashes and other
general badness.
Depends on D2236.
Fixes PR14374.
http://llvm-reviews.chandlerc.com/D2238
Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaTemplate.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  test/CXX/temp/temp.spec/temp.inst/p1.cpp
  test/SemaTemplate/instantiate-local-class.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2238.1.patch
Type: text/x-patch
Size: 11202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131120/e7b32c29/attachment.bin>
    
    
More information about the cfe-commits
mailing list