From: Eric Christopher Date: Wed, 4 Sep 2013 15:58:55 +0000 (+0000) Subject: More unused warning silencing. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e046e1575fb957a8acb76666c67ed509e7ffe96;p=clang More unused warning silencing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189951 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 2734aa2b36..0551355c58 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/include/clang/ASTMatchers/ASTMatchers.h @@ -1625,7 +1625,7 @@ internal::Matcher findAll(const internal::Matcher &Matcher) { /// Usable as: Any Matcher const internal::ArgumentAdaptingMatcherFunc< internal::HasParentMatcher, internal::TypeList, - internal::TypeList > hasParent = {}; + internal::TypeList > LLVM_ATTRIBUTE_UNUSED hasParent = {}; /// \brief Matches AST nodes that have an ancestor that matches the provided /// matcher. @@ -1640,7 +1640,7 @@ const internal::ArgumentAdaptingMatcherFunc< /// Usable as: Any Matcher const internal::ArgumentAdaptingMatcherFunc< internal::HasAncestorMatcher, internal::TypeList, - internal::TypeList > hasAncestor = {}; + internal::TypeList > LLVM_ATTRIBUTE_UNUSED hasAncestor = {}; /// \brief Matches if the provided matcher does not match. ///