diff --git a/clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h b/clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h index 37894ab37dd8d..9a298478c5100 100644 --- a/clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h +++ b/clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// // -// This file defines the `MatchSwitch` abstraction for building a "switch" +// This file defines the `ASTMatchSwitch` abstraction for building a "switch" // statement, where each case of the switch is defined by an AST matcher. The // cases are considered in order, like pattern matching in functional // languages. @@ -17,8 +17,7 @@ // //===----------------------------------------------------------------------===// // -// FIXME: Rename to ASTMatchSwitch.h and update documentation when all usages of -// `MatchSwitch` are updated to `ASTMatchSwitch` +// FIXME: Rename to ASTMatchSwitch.h #ifndef LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_MATCHSWITCH_H_ #define LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_MATCHSWITCH_H_ @@ -69,11 +68,6 @@ template using ASTMatchSwitch = std::function; -// FIXME: Remove this alias when all usages of `MatchSwitch` are updated to -// `ASTMatchSwitch`. -template -using MatchSwitch = ASTMatchSwitch; - /// Collects cases of a "match switch": a collection of matchers paired with /// callbacks, which together define a switch that can be applied to a node /// whose type derives from `BaseT`. This structure can simplify the definition @@ -171,11 +165,6 @@ class ASTMatchSwitchBuilder { std::vector> Actions; }; -// FIXME: Remove this alias when all usages of `MatchSwitchBuilder` are updated -// to `ASTMatchSwitchBuilder`. -template -using MatchSwitchBuilder = ASTMatchSwitchBuilder; - } // namespace dataflow } // namespace clang #endif // LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_MATCHSWITCH_H_