[PATCH] D24878: ASTImporter: expressions, pt.2

Kareem Khazem via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 23 12:45:53 PDT 2016


khazem created this revision.
khazem added reviewers: spyffe, sepavloff.
khazem added subscribers: phosek, khazem, NoQ, xazax.hun, cfe-commits.

This patch implements some expression-related AST node import (patch #2).


  - Some code cleanup
  - Add tests not present in http://reviews.llvm.org/D14286
  - Integrate a test suite from Serge Pavlov (http://reviews.llvm.org/D14224)
  - Implement import of some nodes:


ArrayTypeTraitExpr
ExpressionTraitExpr
OpaqueValueExpr
ArraySubscriptExpr
ExplicitCastExpr
ImplicitValueInitExpr
OffsetOfExpr
CXXThisExpr
CXXThrowExpr
CXXNoexceptExpr
CXXDefaultArgExpr
CXXScalarValueInitExpr
CXXBindTemporaryExpr
CXXTemporaryObjectExpr
MaterializeTemporaryExpr
ExprWithCleanups
StaticAssertDecl
FriendDecl
DecayedType

https://reviews.llvm.org/D24878

Files:
  include/clang/AST/ASTImporter.h
  include/clang/AST/DeclFriend.h
  lib/AST/ASTImporter.cpp
  test/ASTMerge/Inputs/class3.cpp
  test/ASTMerge/Inputs/exprs3.cpp
  test/ASTMerge/class2.cpp
  test/ASTMerge/exprs.cpp
  unittests/AST/ASTImporterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24878.72327.patch
Type: text/x-patch
Size: 40162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160923/b4842f83/attachment-0001.bin>


More information about the cfe-commits mailing list