40 LOG_DBG(
"current_class_template_decl_ = {}",
42 LOG_DBG(
"current_class_template_specialization_decl_ = {}",
46 LOG_DBG(
"current_function_template_decl_ = {}",
91 clang::ClassTemplateSpecializationDecl *clst)
108 if (!function->isCXXClassMember())
117 function->getQualifiedNameAsString()) {
123 clang::FunctionTemplateDecl *function_template)
127 if (!function_template->isCXXClassMember())
151 LOG_DBG(
"Setting current caller id to {}",
id);
157 LOG_DBG(
"Setting current lambda caller id to {}",
id);
159 assert(
id.value() != 0);
169 LOG_DBG(
"Leaving current lambda expression id to {}",
297clang::ConditionalOperator *
307 clang::ConditionalOperator *stmt)
319 const clang::Stmt *stmt)
const
325 if (
const auto *condition_decl_stmt =
current_ifstmt()->getInit();
326 condition_decl_stmt !=
nullptr) {
344 if (
const auto *for_stmt = clang::dyn_cast<clang::ForStmt>(loop_stmt);
345 for_stmt !=
nullptr) {
357 if (
const auto *range_for_stmt =
358 clang::dyn_cast<clang::CXXForRangeStmt>(loop_stmt);
359 range_for_stmt !=
nullptr) {
365 if (
const auto *while_stmt =
366 clang::dyn_cast<clang::WhileStmt>(loop_stmt);
367 while_stmt !=
nullptr) {
373 if (
const auto *do_stmt = clang::dyn_cast<clang::DoStmt>(loop_stmt);
374 do_stmt !=
nullptr) {