[PATCH] D71920: [AST] Refactor propagation of dependency bits. NFC
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 27 01:37:37 PST 2019
ilya-biryukov marked an inline comment as done.
ilya-biryukov added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp:17
+using namespace clang::ast_matchers;
+
----------------
NOTE:
We need this to fix compiler errors down below. There's an AST matcher called `isTypeDependent` and we add a function `clang::isTypeDependent(DependencyFlags)` in this change.
Overload resolution does its job, but we have to make sure they're in the same namespace, so we need to put `using namespace` somewhere inside the `clang` namespace.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71920/new/
https://reviews.llvm.org/D71920
More information about the cfe-commits
mailing list