Skip to content

Commit

Permalink
Merge pull request #55 from fixstars/compatible_clang_4_0_0
Browse files Browse the repository at this point in the history
Delete `Policy.FullyQualifiedName`, which didn't exist at clang-4.0.0
  • Loading branch information
LWisteria authored Aug 22, 2018
2 parents a1d8bfb + 597895f commit 8ba915f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions headercvt/headercvt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,7 @@ class funcdecl_printer : public clang::DeclVisitor<funcdecl_printer>{
std::string Proto;
Indent();

if (Policy.FullyQualifiedName) {
Proto += D->getQualifiedNameAsString();
} else {
Proto += D->getNameInfo().getAsString();
}
Proto += D->getNameInfo().getAsString();

clang::QualType Ty = D->getType();
while (const clang::ParenType *PT = clang::dyn_cast<clang::ParenType>(Ty)) {
Expand Down

0 comments on commit 8ba915f

Please sign in to comment.