r189951 - More unused warning silencing.

Eric Christopher echristo at gmail.com
Wed Sep 4 08:58:55 PDT 2013


Author: echristo
Date: Wed Sep  4 10:58:55 2013
New Revision: 189951

URL: http://llvm.org/viewvc/llvm-project?rev=189951&view=rev
Log:
More unused warning silencing.

Modified:
    cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h

Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h?rev=189951&r1=189950&r2=189951&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Wed Sep  4 10:58:55 2013
@@ -1625,7 +1625,7 @@ internal::Matcher<T> findAll(const inter
 /// Usable as: Any Matcher
 const internal::ArgumentAdaptingMatcherFunc<
     internal::HasParentMatcher, internal::TypeList<Decl, Stmt>,
-    internal::TypeList<Decl, Stmt> > hasParent = {};
+    internal::TypeList<Decl, Stmt> > LLVM_ATTRIBUTE_UNUSED hasParent = {};
 
 /// \brief Matches AST nodes that have an ancestor that matches the provided
 /// matcher.
@@ -1640,7 +1640,7 @@ const internal::ArgumentAdaptingMatcherF
 /// Usable as: Any Matcher
 const internal::ArgumentAdaptingMatcherFunc<
     internal::HasAncestorMatcher, internal::TypeList<Decl, Stmt>,
-    internal::TypeList<Decl, Stmt> > hasAncestor = {};
+    internal::TypeList<Decl, Stmt> > LLVM_ATTRIBUTE_UNUSED hasAncestor = {};
 
 /// \brief Matches if the provided matcher does not match.
 ///





More information about the cfe-commits mailing list