summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorPeter Szecsi <szepet95@gmail.com>2018-03-30 22:03:29 +0000
committerPeter Szecsi <szepet95@gmail.com>2018-03-30 22:03:29 +0000
commitdedda6fafe87ef5e042da01480a766c22a7dee4a (patch)
treedb46ae84d187c47db2eddb35f82d02c4c3cafe12 /llvm/lib/CodeGen
parent5ea6d50af113043da8a82215bb23f98c620e0112 (diff)
downloadbcm5719-llvm-dedda6fafe87ef5e042da01480a766c22a7dee4a.tar.gz
bcm5719-llvm-dedda6fafe87ef5e042da01480a766c22a7dee4a.zip
[ASTImporter] Add test helper Fixture
Add a helper test Fixture, so we can add tests which can check internal attributes of AST nodes like getPreviousDecl(), isVirtual(), etc. This enables us to check if a redeclaration chain is correctly built during import, if the virtual flag is preserved during import, etc. We cannot check such attributes with the existing testImport. Also, this fixture makes it possible to import from several "From" contexts. We also added several test cases here, some of them are disabled. We plan to pass the disabled tests in other patches. Patch by Gabor Marton! Differential Revision: https://reviews.llvm.org/D43967 llvm-svn: 328906
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud