[PATCH] D20118: Add support for injected class names and constructor initializers in C++

Sean Callanan via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 11:02:38 PDT 2016


spyffe created this revision.
spyffe added reviewers: sepavloff, a.sidorin.
spyffe added a subscriber: cfe-commits.
spyffe set the repository for this revision to rL LLVM.
spyffe added a project: clang-c.

The AST importer currently does not handle injected class names properly (it does not bind their types to the type of the parent as the parser would) and it doesn't handle constructor initializers at all.

This patch adds support for both of those, and also forwards the `isImplicit()` and `isReferenced()` flags for *all* declarations as is done for `isUsed()`.

Repository:
  rL LLVM

http://reviews.llvm.org/D20118

Files:
  include/clang/AST/ASTImporter.h
  lib/AST/ASTImporter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20118.56754.patch
Type: text/x-patch
Size: 5693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160510/42c06f6c/attachment-0001.bin>


More information about the cfe-commits mailing list