Coverage Report

Created: 2020-11-24 06:42

/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/include/clang/AST/EvaluatedExprVisitor.h
Line
Count
Source (jump to first uncovered line)
1
//===--- EvaluatedExprVisitor.h - Evaluated expression visitor --*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
//  This file defines the EvaluatedExprVisitor class template, which visits
10
//  the potentially-evaluated subexpressions of a potentially-evaluated
11
//  expression.
12
//
13
//===----------------------------------------------------------------------===//
14
#ifndef LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
15
#define LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
16
17
#include "clang/AST/DeclCXX.h"
18
#include "clang/AST/Expr.h"
19
#include "clang/AST/ExprCXX.h"
20
#include "clang/AST/StmtVisitor.h"
21
#include "llvm/ADT/STLExtras.h"
22
23
namespace clang {
24
25
class ASTContext;
26
27
/// Given a potentially-evaluated expression, this visitor visits all
28
/// of its potentially-evaluated subexpressions, recursively.
29
template<template <typename> class Ptr, typename ImplClass>
30
class EvaluatedExprVisitorBase : public StmtVisitorBase<Ptr, ImplClass, void> {
31
protected:
32
  const ASTContext &Context;
33
34
public:
35
#define PTR(CLASS) typename Ptr<CLASS>::type
36
37
8.93M
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
25
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
4.40k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
69
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
8.77k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
8.24M
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
24
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
493k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
32.6k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
119k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
182
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
17.5k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
90
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
220
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
9
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
9.56k
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::EvaluatedExprVisitorBase(clang::ASTContext const&)
Line
Count
Source
37
17
  explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
38
39
  // Expressions that have no potentially-evaluated subexpressions (but may have
40
  // other sub-expressions).
41
13.4M
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
3.31k
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
61
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
13.3M
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitDeclRefExpr(clang::DeclRefExpr*)
Line
Count
Source
41
13.9k
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
18.0k
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitDeclRefExpr(clang::DeclRefExpr*)
Line
Count
Source
41
214
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
2
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitDeclRefExpr(clang::DeclRefExpr const*)
Line
Count
Source
41
9.83k
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitDeclRefExpr(clang::DeclRefExpr*)
Line
Count
Source
41
80
  void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
42
176
  void VisitOffsetOfExpr(PTR(OffsetOfExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Line
Count
Source
42
165
  void VisitOffsetOfExpr(PTR(OffsetOfExpr) E) { }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Line
Count
Source
42
11
  void VisitOffsetOfExpr(PTR(OffsetOfExpr) E) { }
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitOffsetOfExpr(clang::OffsetOfExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitOffsetOfExpr(clang::OffsetOfExpr*)
43
81.4k
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
Line
Count
Source
43
2
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
6
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
Line
Count
Source
43
57.6k
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
1
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
23.6k
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
15
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
40
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
Line
Count
Source
43
14
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
3
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
3
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr const*)
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*)
Line
Count
Source
43
21
  void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
44
17
  void VisitExpressionTraitExpr(PTR(ExpressionTraitExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Line
Count
Source
44
12
  void VisitExpressionTraitExpr(PTR(ExpressionTraitExpr) E) { }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Line
Count
Source
44
5
  void VisitExpressionTraitExpr(PTR(ExpressionTraitExpr) E) { }
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitExpressionTraitExpr(clang::ExpressionTraitExpr*)
45
2.73k
  void VisitBlockExpr(PTR(BlockExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitBlockExpr(clang::BlockExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitBlockExpr(clang::BlockExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitBlockExpr(clang::BlockExpr const*)
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitBlockExpr(clang::BlockExpr*)
Line
Count
Source
45
98
  void VisitBlockExpr(PTR(BlockExpr) E) { }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitBlockExpr(clang::BlockExpr const*)
Line
Count
Source
45
2.56k
  void VisitBlockExpr(PTR(BlockExpr) E) { }
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitBlockExpr(clang::BlockExpr*)
Line
Count
Source
45
50
  void VisitBlockExpr(PTR(BlockExpr) E) { }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitBlockExpr(clang::BlockExpr*)
Line
Count
Source
45
18
  void VisitBlockExpr(PTR(BlockExpr) E) { }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitBlockExpr(clang::BlockExpr*)
Line
Count
Source
45
9
  void VisitBlockExpr(PTR(BlockExpr) E) { }
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitBlockExpr(clang::BlockExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitBlockExpr(clang::BlockExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitBlockExpr(clang::BlockExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitBlockExpr(clang::BlockExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitBlockExpr(clang::BlockExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitBlockExpr(clang::BlockExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitBlockExpr(clang::BlockExpr*)
46
193
  void VisitCXXUuidofExpr(PTR(CXXUuidofExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Line
Count
Source
46
128
  void VisitCXXUuidofExpr(PTR(CXXUuidofExpr) E) { }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Line
Count
Source
46
65
  void VisitCXXUuidofExpr(PTR(CXXUuidofExpr) E) { }
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitCXXUuidofExpr(clang::CXXUuidofExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitCXXUuidofExpr(clang::CXXUuidofExpr*)
47
2.41k
  void VisitCXXNoexceptExpr(PTR(CXXNoexceptExpr) E) { }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Line
Count
Source
47
509
  void VisitCXXNoexceptExpr(PTR(CXXNoexceptExpr) E) { }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Line
Count
Source
47
1.90k
  void VisitCXXNoexceptExpr(PTR(CXXNoexceptExpr) E) { }
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitCXXNoexceptExpr(clang::CXXNoexceptExpr*)
48
49
556k
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
556k
    return this->Visit(E->getBase());
52
556k
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitMemberExpr(clang::MemberExpr const*)
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitMemberExpr(clang::MemberExpr const*)
Line
Count
Source
49
860
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
860
    return this->Visit(E->getBase());
52
860
  }
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitMemberExpr(clang::MemberExpr const*)
Line
Count
Source
49
9
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
9
    return this->Visit(E->getBase());
52
9
  }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitMemberExpr(clang::MemberExpr const*)
Line
Count
Source
49
556k
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
556k
    return this->Visit(E->getBase());
52
556k
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitMemberExpr(clang::MemberExpr*)
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitMemberExpr(clang::MemberExpr const*)
Line
Count
Source
49
24
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
24
    return this->Visit(E->getBase());
52
24
  }
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitMemberExpr(clang::MemberExpr*)
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitMemberExpr(clang::MemberExpr*)
Line
Count
Source
49
2
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
2
    return this->Visit(E->getBase());
52
2
  }
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitMemberExpr(clang::MemberExpr const*)
CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitMemberExpr(clang::MemberExpr const*)
Line
Count
Source
49
36
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
36
    return this->Visit(E->getBase());
52
36
  }
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitMemberExpr(clang::MemberExpr*)
Line
Count
Source
49
22
  void VisitMemberExpr(PTR(MemberExpr) E) {
50
    // Only the base matters.
51
22
    return this->Visit(E->getBase());
52
22
  }
53
54
49
  void VisitChooseExpr(PTR(ChooseExpr) E) {
55
    // Don't visit either child expression if the condition is dependent.
56
49
    if (E->getCond()->isValueDependent())
57
0
      return;
58
    // Only the selected subexpression matters; the other one is not evaluated.
59
49
    return this->Visit(E->getChosenSubExpr());
60
49
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitChooseExpr(clang::ChooseExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitChooseExpr(clang::ChooseExpr const*)
Line
Count
Source
54
49
  void VisitChooseExpr(PTR(ChooseExpr) E) {
55
    // Don't visit either child expression if the condition is dependent.
56
49
    if (E->getCond()->isValueDependent())
57
0
      return;
58
    // Only the selected subexpression matters; the other one is not evaluated.
59
49
    return this->Visit(E->getChosenSubExpr());
60
49
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitChooseExpr(clang::ChooseExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitChooseExpr(clang::ChooseExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitChooseExpr(clang::ChooseExpr*)
61
62
340
  void VisitGenericSelectionExpr(PTR(GenericSelectionExpr) E) {
63
    // The controlling expression of a generic selection is not evaluated.
64
65
    // Don't visit either child expression if the condition is type-dependent.
66
340
    if (E->isResultDependent())
67
0
      return;
68
    // Only the selected subexpression matters; the other subexpressions and the
69
    // controlling expression are not evaluated.
70
340
    return this->Visit(E->getResultExpr());
71
340
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Line
Count
Source
62
340
  void VisitGenericSelectionExpr(PTR(GenericSelectionExpr) E) {
63
    // The controlling expression of a generic selection is not evaluated.
64
65
    // Don't visit either child expression if the condition is type-dependent.
66
340
    if (E->isResultDependent())
67
0
      return;
68
    // Only the selected subexpression matters; the other subexpressions and the
69
    // controlling expression are not evaluated.
70
340
    return this->Visit(E->getResultExpr());
71
340
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitGenericSelectionExpr(clang::GenericSelectionExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitGenericSelectionExpr(clang::GenericSelectionExpr*)
72
73
18
  void VisitDesignatedInitExpr(PTR(DesignatedInitExpr) E) {
74
    // Only the actual initializer matters; the designators are all constant
75
    // expressions.
76
18
    return this->Visit(E->getInit());
77
18
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Line
Count
Source
73
10
  void VisitDesignatedInitExpr(PTR(DesignatedInitExpr) E) {
74
    // Only the actual initializer matters; the designators are all constant
75
    // expressions.
76
10
    return this->Visit(E->getInit());
77
10
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Line
Count
Source
73
8
  void VisitDesignatedInitExpr(PTR(DesignatedInitExpr) E) {
74
    // Only the actual initializer matters; the designators are all constant
75
    // expressions.
76
8
    return this->Visit(E->getInit());
77
8
  }
Unexecuted instantiation: SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Unexecuted instantiation: SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitDesignatedInitExpr(clang::DesignatedInitExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitDesignatedInitExpr(clang::DesignatedInitExpr*)
78
79
2.81k
  void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
80
2.81k
    if (E->isPotentiallyEvaluated())
81
107
      return this->Visit(E->getExprOperand());
82
2.81k
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Line
Count
Source
79
1.46k
  void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
80
1.46k
    if (E->isPotentiallyEvaluated())
81
87
      return this->Visit(E->getExprOperand());
82
1.46k
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Line
Count
Source
79
1.34k
  void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
80
1.34k
    if (E->isPotentiallyEvaluated())
81
15
      return this->Visit(E->getExprOperand());
82
1.34k
  }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Line
Count
Source
79
3
  void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
80
3
    if (E->isPotentiallyEvaluated())
81
2
      return this->Visit(E->getExprOperand());
82
3
  }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Line
Count
Source
79
3
  void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
80
3
    if (E->isPotentiallyEvaluated())
81
3
      return this->Visit(E->getExprOperand());
82
3
  }
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitCXXTypeidExpr(clang::CXXTypeidExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitCXXTypeidExpr(clang::CXXTypeidExpr*)
83
84
127k
  void VisitCallExpr(PTR(CallExpr) CE) {
85
127k
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
127k
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
127k
  }
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitCallExpr(clang::CallExpr const*)
Line
Count
Source
84
3
  void VisitCallExpr(PTR(CallExpr) CE) {
85
3
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
3
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
3
  }
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitCallExpr(clang::CallExpr const*)
Line
Count
Source
84
31
  void VisitCallExpr(PTR(CallExpr) CE) {
85
31
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
31
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
31
  }
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
81.9k
  void VisitCallExpr(PTR(CallExpr) CE) {
85
81.9k
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
81.9k
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
81.9k
  }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
11
  void VisitCallExpr(PTR(CallExpr) CE) {
85
11
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
11
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
11
  }
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
38.8k
  void VisitCallExpr(PTR(CallExpr) CE) {
85
38.8k
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
38.8k
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
38.8k
  }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
217
  void VisitCallExpr(PTR(CallExpr) CE) {
85
217
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
217
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
217
  }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
1.74k
  void VisitCallExpr(PTR(CallExpr) CE) {
85
1.74k
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
1.74k
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
1.74k
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitCallExpr(clang::CallExpr const*)
Line
Count
Source
84
96
  void VisitCallExpr(PTR(CallExpr) CE) {
85
96
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
96
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
96
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
1
  void VisitCallExpr(PTR(CallExpr) CE) {
85
1
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
1
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
1
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
3
  void VisitCallExpr(PTR(CallExpr) CE) {
85
3
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
3
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
3
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
42
  void VisitCallExpr(PTR(CallExpr) CE) {
85
42
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
42
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
42
  }
CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitCallExpr(clang::CallExpr const*)
Line
Count
Source
84
4.58k
  void VisitCallExpr(PTR(CallExpr) CE) {
85
4.58k
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
4.58k
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
4.58k
  }
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitCallExpr(clang::CallExpr*)
Line
Count
Source
84
21
  void VisitCallExpr(PTR(CallExpr) CE) {
85
21
    if (!CE->isUnevaluatedBuiltinCall(Context))
86
21
      return static_cast<ImplClass*>(this)->VisitExpr(CE);
87
21
  }
88
89
10.8k
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
10.8k
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
10.8k
                                                 E = LE->capture_init_end();
93
19.1k
         I != E; 
++I8.32k
)
94
8.32k
      if (*I)
95
8.24k
        this->Visit(*I);
96
10.8k
  }
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitLambdaExpr(clang::LambdaExpr const*)
Unexecuted instantiation: Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitLambdaExpr(clang::LambdaExpr const*)
Unexecuted instantiation: AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitLambdaExpr(clang::LambdaExpr const*)
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitLambdaExpr(clang::LambdaExpr*)
Line
Count
Source
89
1.24k
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
1.24k
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
1.24k
                                                 E = LE->capture_init_end();
93
3.74k
         I != E; 
++I2.50k
)
94
2.50k
      if (*I)
95
2.50k
        this->Visit(*I);
96
1.24k
  }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitLambdaExpr(clang::LambdaExpr const*)
Line
Count
Source
89
6.67k
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
6.67k
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
6.67k
                                                 E = LE->capture_init_end();
93
11.4k
         I != E; 
++I4.75k
)
94
4.75k
      if (*I)
95
4.68k
        this->Visit(*I);
96
6.67k
  }
Unexecuted instantiation: SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitLambdaExpr(clang::LambdaExpr*)
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitLambdaExpr(clang::LambdaExpr*)
Line
Count
Source
89
2.78k
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
2.78k
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
2.78k
                                                 E = LE->capture_init_end();
93
3.82k
         I != E; 
++I1.04k
)
94
1.04k
      if (*I)
95
1.03k
        this->Visit(*I);
96
2.78k
  }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitLambdaExpr(clang::LambdaExpr*)
Line
Count
Source
89
71
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
71
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
71
                                                 E = LE->capture_init_end();
93
94
         I != E; 
++I23
)
94
23
      if (*I)
95
23
        this->Visit(*I);
96
71
  }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitLambdaExpr(clang::LambdaExpr*)
Line
Count
Source
89
95
  void VisitLambdaExpr(PTR(LambdaExpr) LE) {
90
    // Only visit the capture initializers, and not the body.
91
95
    for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
92
95
                                                 E = LE->capture_init_end();
93
95
         I != E; 
++I0
)
94
0
      if (*I)
95
0
        this->Visit(*I);
96
95
  }
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitLambdaExpr(clang::LambdaExpr const*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclExtractor>::VisitLambdaExpr(clang::LambdaExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitLambdaExpr(clang::LambdaExpr*)
Unexecuted instantiation: SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitLambdaExpr(clang::LambdaExpr*)
Unexecuted instantiation: SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitLambdaExpr(clang::LambdaExpr const*)
Unexecuted instantiation: CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitLambdaExpr(clang::LambdaExpr const*)
Unexecuted instantiation: MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitLambdaExpr(clang::LambdaExpr*)
97
98
  /// The basis case walks all of the children of the statement or
99
  /// expression, assuming they are all potentially evaluated.
100
36.4M
  void VisitStmt(PTR(Stmt) S) {
101
36.4M
    for (auto *SubStmt : S->children())
102
34.2M
      if (SubStmt)
103
34.1M
        this->Visit(SubStmt);
104
36.4M
  }
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SideEffectFinder>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
54
  void VisitStmt(PTR(Stmt) S) {
101
54
    for (auto *SubStmt : S->children())
102
77
      if (SubStmt)
103
77
        this->Visit(SubStmt);
104
54
  }
Expr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::NonTrivialCallFinder>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
14.8k
  void VisitStmt(PTR(Stmt) S) {
101
14.8k
    for (auto *SubStmt : S->children())
102
14.2k
      if (SubStmt)
103
14.2k
        this->Visit(SubStmt);
104
14.8k
  }
AnalysisBasedWarnings.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::ContainsReference>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
286
  void VisitStmt(PTR(Stmt) S) {
101
286
    for (auto *SubStmt : S->children())
102
372
      if (SubStmt)
103
372
        this->Visit(SubStmt);
104
286
  }
Sema.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeferredDiagnosticsEmitter>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
1.92M
  void VisitStmt(PTR(Stmt) S) {
101
1.92M
    for (auto *SubStmt : S->children())
102
2.40M
      if (SubStmt)
103
2.31M
        this->Visit(SubStmt);
104
1.92M
  }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::SequenceChecker>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
33.2M
  void VisitStmt(PTR(Stmt) S) {
101
33.2M
    for (auto *SubStmt : S->children())
102
30.8M
      if (SubStmt)
103
30.8M
        this->Visit(SubStmt);
104
33.2M
  }
SemaChecking.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::FindCaptureVisitor>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
98
  void VisitStmt(PTR(Stmt) S) {
101
98
    for (auto *SubStmt : S->children())
102
107
      if (SubStmt)
103
107
        this->Visit(SubStmt);
104
98
  }
SemaDecl.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::SelfReferenceChecker>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
1.07M
  void VisitStmt(PTR(Stmt) S) {
101
1.07M
    for (auto *SubStmt : S->children())
102
903k
      if (SubStmt)
103
903k
        this->Visit(SubStmt);
104
1.07M
  }
SemaDeclCXX.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::UninitializedFieldVisitor>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
26.4k
  void VisitStmt(PTR(Stmt) S) {
101
26.4k
    for (auto *SubStmt : S->children())
102
9.40k
      if (SubStmt)
103
9.40k
        this->Visit(SubStmt);
104
26.4k
  }
SemaExpr.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::EvaluatedExprMarker>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
62.5k
  void VisitStmt(PTR(Stmt) S) {
101
62.5k
    for (auto *SubStmt : S->children())
102
38.9k
      if (SubStmt)
103
37.6k
        this->Visit(SubStmt);
104
62.5k
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::BreakContinueFinder>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
36.4k
  void VisitStmt(PTR(Stmt) S) {
101
36.4k
    for (auto *SubStmt : S->children())
102
37.0k
      if (SubStmt)
103
37.0k
        this->Visit(SubStmt);
104
36.4k
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::DeclMatcher>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
308
  void VisitStmt(PTR(Stmt) S) {
101
308
    for (auto *SubStmt : S->children())
102
388
      if (SubStmt)
103
388
        this->Visit(SubStmt);
104
308
  }
SemaStmt.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CommaVisitor>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
606
  void VisitStmt(PTR(Stmt) S) {
101
606
    for (auto *SubStmt : S->children())
102
638
      if (SubStmt)
103
638
        this->Visit(SubStmt);
104
606
  }
SemaStmtAttr.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::CallExprFinder>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
12
  void VisitStmt(PTR(Stmt) S) {
101
12
    for (auto *SubStmt : S->children())
102
16
      if (SubStmt)
103
15
        this->Visit(SubStmt);
104
12
  }
CGClass.cpp:clang::EvaluatedExprVisitorBase<llvm::make_const_ptr, (anonymous namespace)::DynamicThisUseChecker>::VisitStmt(clang::Stmt const*)
Line
Count
Source
100
22.7k
  void VisitStmt(PTR(Stmt) S) {
101
22.7k
    for (auto *SubStmt : S->children())
102
23.0k
      if (SubStmt)
103
23.0k
        this->Visit(SubStmt);
104
22.7k
  }
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitorBase<std::__1::add_pointer, (anonymous namespace)::CheckOverflowOps>::VisitStmt(clang::Stmt*)
Line
Count
Source
100
318
  void VisitStmt(PTR(Stmt) S) {
101
318
    for (auto *SubStmt : S->children())
102
402
      if (SubStmt)
103
402
        this->Visit(SubStmt);
104
318
  }
105
106
#undef PTR
107
};
108
109
/// EvaluatedExprVisitor - This class visits 'Expr *'s
110
template <typename ImplClass>
111
class EvaluatedExprVisitor
112
    : public EvaluatedExprVisitorBase<std::add_pointer, ImplClass> {
113
public:
114
  explicit EvaluatedExprVisitor(const ASTContext &Context)
115
655k
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
Sema.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::DeferredDiagnosticsEmitter>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
8.77k
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaChecking.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::FindCaptureVisitor>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
24
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaDecl.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::SelfReferenceChecker>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
493k
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaDeclCXX.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::UninitializedFieldVisitor>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
32.6k
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaExpr.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::EvaluatedExprMarker>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
119k
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaStmt.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::CommaVisitor>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
182
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaStmt.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::DeclExtractor>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
90
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
SemaStmt.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::DeclMatcher>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
220
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
MallocOverflowSecurityChecker.cpp:clang::EvaluatedExprVisitor<(anonymous namespace)::CheckOverflowOps>::EvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
115
17
      : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
116
};
117
118
/// ConstEvaluatedExprVisitor - This class visits 'const Expr *'s.
119
template <typename ImplClass>
120
class ConstEvaluatedExprVisitor
121
    : public EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass> {
122
public:
123
  explicit ConstEvaluatedExprVisitor(const ASTContext &Context)
124
8.27M
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
Expr.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::SideEffectFinder>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
25
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
Expr.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::NonTrivialCallFinder>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
4.40k
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
AnalysisBasedWarnings.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::ContainsReference>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
69
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
SemaChecking.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::SequenceChecker>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
8.24M
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
SemaStmt.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::BreakContinueFinder>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
17.5k
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
SemaStmtAttr.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::CallExprFinder>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
9
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
CGClass.cpp:clang::ConstEvaluatedExprVisitor<(anonymous namespace)::DynamicThisUseChecker>::ConstEvaluatedExprVisitor(clang::ASTContext const&)
Line
Count
Source
124
9.56k
      : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
125
};
126
}
127
128
#endif // LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H