From 9e046e1575fb957a8acb76666c67ed509e7ffe96 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 4 Sep 2013 15:58:55 +0000 Subject: [PATCH] More unused warning silencing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189951 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/ASTMatchers/ASTMatchers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. /// -- 2.40.0