From: Aaron Ballman Date: Tue, 10 Jan 2023 15:43:33 +0000 (-0500) Subject: Remove a stale FIXME comment; NFC X-Git-Tag: upstream/17.0.6~21540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03b83cd703d403cdfd6f0082423f99aae08d3606;p=platform%2Fupstream%2Fllvm.git Remove a stale FIXME comment; NFC Also regenerates the AST matcher documentation. This matcher is tested in TEST(HasImplicitDestinationType, MatchesSimpleCase) and TEST(HasImplicitDestinationType, DoesNotMatchIncorrectly) in ASTMatchersTraversalTest.cpp. --- diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 108fc44..a67b384 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -8541,8 +8541,6 @@ Examples matches the if statement Matcher<ImplicitCastExpr>hasImplicitDestinationTypeMatcher<QualType> InnerMatcher
Matches implicit casts whose destination type matches a given
 matcher.
-
-FIXME: Unit test this matcher
 
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index a900289..f1b858c 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -5822,8 +5822,6 @@ AST_MATCHER_P(ExplicitCastExpr, hasDestinationType, /// Matches implicit casts whose destination type matches a given /// matcher. -/// -/// FIXME: Unit test this matcher AST_MATCHER_P(ImplicitCastExpr, hasImplicitDestinationType, internal::Matcher, InnerMatcher) { return InnerMatcher.matches(Node.getType(), Finder, Builder);