[PATCH] Factor code into CXXRecordDecl::getTemplateInstantiationPattern() helper

Reid Kleckner rnk at google.com
Tue Oct 14 13:09:35 PDT 2014


Hi rsmith,

This moves some code from SemaType.cpp's hasVisibleDefinition() into
DeclCXX.cpp so that it can be used elsewhere. I found one other instance
of code trying to do the same thing, there are probably more. Search for
getInstantiatedFrom() to try to find more.

No functionality change.

http://reviews.llvm.org/D5783

Files:
  include/clang/AST/DeclCXX.h
  lib/AST/DeclCXX.cpp
  lib/Sema/SemaLookup.cpp
  lib/Sema/SemaType.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5783.14886.patch
Type: text/x-patch
Size: 5689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141014/516f2bde/attachment.bin>


More information about the cfe-commits mailing list