42 LOG_DBG(
"current_class_template_decl_ = {}",
44 LOG_DBG(
"current_class_template_specialization_decl_ = {}",
48 LOG_DBG(
"current_function_template_decl_ = {}",
122 clang::ClassTemplateSpecializationDecl *clst)
144 if (!function->isCXXClassMember())
153 function->getQualifiedNameAsString()) {
159 clang::FunctionTemplateDecl *function_template)
163 if (!function_template->isCXXClassMember())
187 LOG_DBG(
"Setting current caller id to {}",
id);
193 LOG_DBG(
"Setting current lambda caller id to {}",
id);
195 assert(
id.value() != 0);
205 LOG_DBG(
"Leaving current lambda expression id to {}",
338clang::ConditionalOperator *
348 clang::ConditionalOperator *stmt)
360 const clang::Stmt *stmt)
const
366 if (
const auto *condition_decl_stmt =
current_ifstmt()->getInit();
367 condition_decl_stmt !=
nullptr) {
385 if (
const auto *for_stmt = clang::dyn_cast<clang::ForStmt>(loop_stmt);
386 for_stmt !=
nullptr) {
398 if (
const auto *range_for_stmt =
399 clang::dyn_cast<clang::CXXForRangeStmt>(loop_stmt);
400 range_for_stmt !=
nullptr) {
406 if (
const auto *while_stmt =
407 clang::dyn_cast<clang::WhileStmt>(loop_stmt);
408 while_stmt !=
nullptr) {
414 if (
const auto *do_stmt = clang::dyn_cast<clang::DoStmt>(loop_stmt);
415 do_stmt !=
nullptr) {