File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,7 @@ std::string formatDecl(const clang::Decl *decl) {
166
166
return buf;
167
167
}
168
168
169
- std::string formatNestedNamespaceSpecifierKind (
170
- clang::NestedNameSpecifier::SpecifierKind kind) {
169
+ std::string formatKind (clang::NestedNameSpecifier::SpecifierKind kind) {
171
170
#define HANDLE_KIND (kind_ ) \
172
171
case clang::NestedNameSpecifier::SpecifierKind::kind_: \
173
172
return #kind_;
@@ -183,7 +182,7 @@ std::string formatNestedNamespaceSpecifierKind(
183
182
#undef HANDLE_KIND
184
183
}
185
184
186
- std::string formatTemplateNameKind ( const clang::TemplateName::NameKind kind) {
185
+ std::string formatKind ( clang::TemplateName::NameKind kind) {
187
186
#define HANDLE_KIND (kind_ ) \
188
187
case clang::TemplateName::NameKind::kind_: \
189
188
return #kind_;
@@ -200,8 +199,7 @@ std::string formatTemplateNameKind(const clang::TemplateName::NameKind kind) {
200
199
#undef HANDLE_KIND
201
200
}
202
201
203
- std::string
204
- formatTemplateSpecializationKind (clang::TemplateSpecializationKind kind) {
202
+ std::string formatKind (clang::TemplateSpecializationKind kind) {
205
203
#define HANDLE_KIND (kind_ ) \
206
204
case clang::TemplateSpecializationKind::TSK_##kind_: \
207
205
return #kind_;
@@ -227,4 +225,4 @@ std::string formatTypeInternals(const clang::QualType &qualType,
227
225
}
228
226
229
227
} // namespace debug
230
- } // namespace scip_clang
228
+ } // namespace scip_clang
Original file line number Diff line number Diff line change @@ -36,17 +36,16 @@ std::string formatRange(const clang::SourceManager &,
36
36
37
37
std::string formatDecl (const clang::Decl *);
38
38
39
- std::string formatNestedNamespaceSpecifierKind (
40
- clang::NestedNameSpecifier::SpecifierKind);
39
+ std::string formatKind (clang::NestedNameSpecifier::SpecifierKind);
41
40
42
- std::string formatTemplateNameKind (clang::TemplateName::NameKind);
41
+ std::string formatKind (clang::TemplateName::NameKind);
43
42
44
- std::string formatTemplateSpecializationKind (clang::TemplateSpecializationKind);
43
+ std::string formatKind (clang::TemplateSpecializationKind);
45
44
46
45
std::string formatTypeInternals (const clang::QualType &,
47
46
const clang::ASTContext &);
48
47
49
48
} // namespace debug
50
49
} // namespace scip_clang
51
50
52
- #endif // SCIP_CLANG_DEBUG_HELPERS_H
51
+ #endif // SCIP_CLANG_DEBUG_HELPERS_H
You can’t perform that action at this time.
0 commit comments