alexfh added inline comments.
================ Comment at: clang-tidy/google/NonConstReferences.cpp:73 + [&](llvm::StringRef WhiteListType) { + return ReferencedType.getCanonicalType().getAsString( + Result.Context->getPrintingPolicy()) == ---------------- It should be possible to check the whitelist in the matcher (`qualType(unless(anyOf(isConstQualified(), hasDeclaration(namedDecl(hasAnyName(WhiteListTypes))))))` or something similar). https://reviews.llvm.org/D25244 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits