[Feature] Enable clang-tidy (#200)
Co-authored-by: star9029 <hengxings783@gmail.com>
This commit is contained in:
@@ -15,6 +15,12 @@ bool is_templated(const clang::Decl* decl);
|
||||
/// Check whether the decl is anonymous.
|
||||
bool is_anonymous(const clang::NamedDecl* decl);
|
||||
|
||||
/// Checks whether the location is inside the main file.
|
||||
bool is_inside_main_file(clang::SourceLocation loc, const clang::SourceManager& sm);
|
||||
|
||||
/// Checks whether the decl is an implicit template instantiation.
|
||||
bool is_implicit_template_instantiation(const clang::NamedDecl* decl);
|
||||
|
||||
/// Return the decl where it is instantiated from. If could be a template decl
|
||||
/// or a member of a class template. If the decl is a full specialization, return
|
||||
/// itself.
|
||||
|
||||
Reference in New Issue
Block a user