aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGabor Marton <martongabesz@gmail.com>2019-02-18 11:09:56 +0000
committerGabor Marton <martongabesz@gmail.com>2019-02-18 11:09:56 +0000
commitfc03fc6e69195a65d7d82668165df03e27d0940a (patch)
treebaa18bcc803dc0a6d8f4d5b47477ee1db3ff048c /clang/lib/Frontend/CompilerInvocation.cpp
parentd1304bba343f8c318e879e29dc29bb5e5039c874 (diff)
downloadllvm-fc03fc6e69195a65d7d82668165df03e27d0940a.zip
llvm-fc03fc6e69195a65d7d82668165df03e27d0940a.tar.gz
llvm-fc03fc6e69195a65d7d82668165df03e27d0940a.tar.bz2
[ASTImporter] Unify redecl chain tests as type parameterized tests
Summary: This patch unifies all those tests which check the correctness of the redecl chains. Previously we had several structurally very similar test cases for each language construct (class, function, variable, function template, ...). We still use value-parameterized tests for the different AST compatibility switches (-fdelayed-template-parsing, -fms-compatibility). Gtest makes it possible to have either value-parameterized or type-parameterized fixtures. However, we cannot have both value- and type-parameterized test fixtures. So we use a value-parameterized test fixture in the gtest sense. We intend to mimic gtest's type-parameters via the type template parameter. We manually instantiate the different tests with the each types. After this patch I am planning to put the "generic redecl chain" related tests into their own separate test file (in another patch). Reviewers: a_sidorin, shafik, a.sidorin Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Differential Revision: https://reviews.llvm.org/D57236 llvm-svn: 354259
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions