Coverage Report

Created: 2018-11-16 02:38

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/tools/clang/include/clang/AST/TypeLocVisitor.h
Line
Count
Source (jump to first uncovered line)
1
//===--- TypeLocVisitor.h - Visitor for TypeLoc subclasses ------*- C++ -*-===//
2
//
3
//                     The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
//  This file defines the TypeLocVisitor interface.
11
//
12
//===----------------------------------------------------------------------===//
13
#ifndef LLVM_CLANG_AST_TYPELOCVISITOR_H
14
#define LLVM_CLANG_AST_TYPELOCVISITOR_H
15
16
#include "clang/AST/TypeLoc.h"
17
#include "clang/AST/TypeVisitor.h"
18
#include "llvm/Support/ErrorHandling.h"
19
20
namespace clang {
21
22
#define DISPATCH(CLASSNAME) \
23
1.13G
  return static_cast<ImplClass*>(this)-> \
24
1.13G
    Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
25
26
template<typename ImplClass, typename RetTy=void>
27
class TypeLocVisitor {
28
public:
29
519M
  RetTy Visit(TypeLoc TyLoc) {
30
519M
    switch (TyLoc.getTypeLocClass()) {
31
519M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
519M
#define TYPELOC(CLASS, PARENT) \
33
1.03G
    
case TypeLoc::CLASS: 519M
DISPATCH(CLASS##TypeLoc);
34
519M
#include 
"clang/AST/TypeLocNodes.def"20.3M
35
519M
    }
36
519M
    
llvm_unreachable0
("unexpected type loc class!");
37
519M
  }
clang::TypeLocVisitor<clang::TypeLocReader, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
167k
  RetTy Visit(TypeLoc TyLoc) {
30
167k
    switch (TyLoc.getTypeLocClass()) {
31
167k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
167k
#define TYPELOC(CLASS, PARENT) \
33
167k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
167k
#include 
"clang/AST/TypeLocNodes.def"4.51k
35
167k
    }
36
167k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
ASTWriter.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocWriter, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
607k
  RetTy Visit(TypeLoc TyLoc) {
30
607k
    switch (TyLoc.getTypeLocClass()) {
31
607k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
607k
#define TYPELOC(CLASS, PARENT) \
33
607k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
607k
#include 
"clang/AST/TypeLocNodes.def"83.1k
35
607k
    }
36
607k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
62.3k
  RetTy Visit(TypeLoc TyLoc) {
30
62.3k
    switch (TyLoc.getTypeLocClass()) {
31
62.3k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
62.3k
#define TYPELOC(CLASS, PARENT) \
33
62.3k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
62.3k
#include 
"clang/AST/TypeLocNodes.def"13.4k
35
62.3k
    }
36
62.3k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocRanger, clang::SourceRange>::Visit(clang::TypeLoc)
Line
Count
Source
29
159M
  RetTy Visit(TypeLoc TyLoc) {
30
159M
    switch (TyLoc.getTypeLocClass()) {
31
159M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
159M
#define TYPELOC(CLASS, PARENT) \
33
159M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
159M
#include 
"clang/AST/TypeLocNodes.def"19.6k
35
159M
    }
36
159M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeAligner, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
29
125M
  RetTy Visit(TypeLoc TyLoc) {
30
125M
    switch (TyLoc.getTypeLocClass()) {
31
125M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
125M
#define TYPELOC(CLASS, PARENT) \
33
125M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
125M
#include 
"clang/AST/TypeLocNodes.def"10.1M
35
125M
    }
36
125M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSizer, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
29
69.2M
  RetTy Visit(TypeLoc TyLoc) {
30
69.2M
    switch (TyLoc.getTypeLocClass()) {
31
69.2M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
69.2M
#define TYPELOC(CLASS, PARENT) \
33
69.2M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
69.2M
#include 
"clang/AST/TypeLocNodes.def"3.85M
35
69.2M
    }
36
69.2M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::NextLoc, clang::TypeLoc>::Visit(clang::TypeLoc)
Line
Count
Source
29
164M
  RetTy Visit(TypeLoc TyLoc) {
30
164M
    switch (TyLoc.getTypeLocClass()) {
31
164M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
164M
#define TYPELOC(CLASS, PARENT) \
33
164M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
164M
#include 
"clang/AST/TypeLocNodes.def"6.20M
35
164M
    }
36
164M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocCopier, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
8.06k
  RetTy Visit(TypeLoc TyLoc) {
30
8.06k
    switch (TyLoc.getTypeLocClass()) {
31
8.06k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
8.06k
#define TYPELOC(CLASS, PARENT) \
33
8.06k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
8.06k
#include 
"clang/AST/TypeLocNodes.def"4
35
8.06k
    }
36
8.06k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
Unexecuted instantiation: TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TSTChecker, bool>::Visit(clang::TypeLoc)
38
39
41.5M
  RetTy Visit(UnqualTypeLoc TyLoc) {
40
41.5M
    switch (TyLoc.getTypeLocClass()) {
41
41.5M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
42
41.5M
#define TYPELOC(CLASS, PARENT) \
43
83.0M
    
case TypeLoc::CLASS: 41.5M
DISPATCH(CLASS##TypeLoc);
44
41.5M
#include 
"clang/AST/TypeLocNodes.def"0
45
41.5M
    }
46
41.5M
    
llvm_unreachable0
("unexpected type loc class!");
47
41.5M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
39
11.8M
  RetTy Visit(UnqualTypeLoc TyLoc) {
40
11.8M
    switch (TyLoc.getTypeLocClass()) {
41
11.8M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
42
11.8M
#define TYPELOC(CLASS, PARENT) \
43
11.8M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
44
11.8M
#include 
"clang/AST/TypeLocNodes.def"0
45
11.8M
    }
46
11.8M
    
llvm_unreachable0
("unexpected type loc class!");
47
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
39
29.6M
  RetTy Visit(UnqualTypeLoc TyLoc) {
40
29.6M
    switch (TyLoc.getTypeLocClass()) {
41
29.6M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
42
29.6M
#define TYPELOC(CLASS, PARENT) \
43
29.6M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
44
29.6M
#include 
"clang/AST/TypeLocNodes.def"0
45
29.6M
    }
46
29.6M
    
llvm_unreachable0
("unexpected type loc class!");
47
  }
48
49
#define TYPELOC(CLASS, PARENT)      \
50
12.0M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12.0M
    DISPATCH(PARENT);               \
52
12.0M
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitBuiltinTypeLoc(clang::BuiltinTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitComplexTypeLoc(clang::ComplexTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitConstantArrayTypeLoc(clang::ConstantArrayTypeLoc)
Line
Count
Source
50
260k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
260k
    DISPATCH(PARENT);               \
52
260k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitIncompleteArrayTypeLoc(clang::IncompleteArrayTypeLoc)
Line
Count
Source
50
41.3k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
41.3k
    DISPATCH(PARENT);               \
52
41.3k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitVariableArrayTypeLoc(clang::VariableArrayTypeLoc)
Line
Count
Source
50
4.96k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
4.96k
    DISPATCH(PARENT);               \
52
4.96k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentSizedArrayTypeLoc(clang::DependentSizedArrayTypeLoc)
Line
Count
Source
50
35.2k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
35.2k
    DISPATCH(PARENT);               \
52
35.2k
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentSizedExtVectorTypeLoc(clang::DependentSizedExtVectorTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentAddressSpaceTypeLoc(clang::DependentAddressSpaceTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitVectorTypeLoc(clang::VectorTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentVectorTypeLoc(clang::DependentVectorTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitExtVectorTypeLoc(clang::ExtVectorTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitFunctionProtoTypeLoc(clang::FunctionProtoTypeLoc)
Line
Count
Source
50
5.78M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
5.78M
    DISPATCH(PARENT);               \
52
5.78M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitFunctionNoProtoTypeLoc(clang::FunctionNoProtoTypeLoc)
Line
Count
Source
50
35.7k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
35.7k
    DISPATCH(PARENT);               \
52
35.7k
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitUnresolvedUsingTypeLoc(clang::UnresolvedUsingTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTypedefTypeLoc(clang::TypedefTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTypeOfExprTypeLoc(clang::TypeOfExprTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTypeOfTypeLoc(clang::TypeOfTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDecltypeTypeLoc(clang::DecltypeTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitUnaryTransformTypeLoc(clang::UnaryTransformTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitRecordTypeLoc(clang::RecordTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTagTypeLoc(clang::TagTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitEnumTypeLoc(clang::EnumTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitElaboratedTypeLoc(clang::ElaboratedTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTemplateTypeParmTypeLoc(clang::TemplateTypeParmTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitSubstTemplateTypeParmTypeLoc(clang::SubstTemplateTypeParmTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitAutoTypeLoc(clang::AutoTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDeducedTypeLoc(clang::DeducedTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitInjectedClassNameTypeLoc(clang::InjectedClassNameTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentNameTypeLoc(clang::DependentNameTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentTemplateSpecializationTypeLoc(clang::DependentTemplateSpecializationTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitPackExpansionTypeLoc(clang::PackExpansionTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitObjCTypeParamTypeLoc(clang::ObjCTypeParamTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitObjCObjectTypeLoc(clang::ObjCObjectTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitObjCInterfaceTypeLoc(clang::ObjCInterfaceTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitAtomicTypeLoc(clang::AtomicTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitComplexTypeLoc(clang::ComplexTypeLoc)
Line
Count
Source
50
11.6k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
11.6k
    DISPATCH(PARENT);               \
52
11.6k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitPointerTypeLoc(clang::PointerTypeLoc)
Line
Count
Source
50
2
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
2
    DISPATCH(PARENT);               \
52
2
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitBlockPointerTypeLoc(clang::BlockPointerTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitLValueReferenceTypeLoc(clang::LValueReferenceTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitReferenceTypeLoc(clang::ReferenceTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitRValueReferenceTypeLoc(clang::RValueReferenceTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitMemberPointerTypeLoc(clang::MemberPointerTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitConstantArrayTypeLoc(clang::ConstantArrayTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitArrayTypeLoc(clang::ArrayTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitIncompleteArrayTypeLoc(clang::IncompleteArrayTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitVariableArrayTypeLoc(clang::VariableArrayTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentSizedArrayTypeLoc(clang::DependentSizedArrayTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentSizedExtVectorTypeLoc(clang::DependentSizedExtVectorTypeLoc)
Line
Count
Source
50
24
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
24
    DISPATCH(PARENT);               \
52
24
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentAddressSpaceTypeLoc(clang::DependentAddressSpaceTypeLoc)
Line
Count
Source
50
43
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
43
    DISPATCH(PARENT);               \
52
43
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitVectorTypeLoc(clang::VectorTypeLoc)
Line
Count
Source
50
263k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
263k
    DISPATCH(PARENT);               \
52
263k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentVectorTypeLoc(clang::DependentVectorTypeLoc)
Line
Count
Source
50
12
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12
    DISPATCH(PARENT);               \
52
12
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitExtVectorTypeLoc(clang::ExtVectorTypeLoc)
Line
Count
Source
50
1.79k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
1.79k
    DISPATCH(PARENT);               \
52
1.79k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitFunctionProtoTypeLoc(clang::FunctionProtoTypeLoc)
Line
Count
Source
50
11
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
11
    DISPATCH(PARENT);               \
52
11
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitFunctionTypeLoc(clang::FunctionTypeLoc)
Line
Count
Source
50
11
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
11
    DISPATCH(PARENT);               \
52
11
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitFunctionNoProtoTypeLoc(clang::FunctionNoProtoTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitUnresolvedUsingTypeLoc(clang::UnresolvedUsingTypeLoc)
Line
Count
Source
50
28
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
28
    DISPATCH(PARENT);               \
52
28
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitParenTypeLoc(clang::ParenTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitAdjustedTypeLoc(clang::AdjustedTypeLoc)
Line
Count
Source
50
5
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
5
    DISPATCH(PARENT);               \
52
5
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDecayedTypeLoc(clang::DecayedTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDecltypeTypeLoc(clang::DecltypeTypeLoc)
Line
Count
Source
50
34.9k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
34.9k
    DISPATCH(PARENT);               \
52
34.9k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitRecordTypeLoc(clang::RecordTypeLoc)
Line
Count
Source
50
1.34M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
1.34M
    DISPATCH(PARENT);               \
52
1.34M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitEnumTypeLoc(clang::EnumTypeLoc)
Line
Count
Source
50
109k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
109k
    DISPATCH(PARENT);               \
52
109k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitTemplateTypeParmTypeLoc(clang::TemplateTypeParmTypeLoc)
Line
Count
Source
50
3.85M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
3.85M
    DISPATCH(PARENT);               \
52
3.85M
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitSubstTemplateTypeParmTypeLoc(clang::SubstTemplateTypeParmTypeLoc)
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitAutoTypeLoc(clang::AutoTypeLoc)
Line
Count
Source
50
12.0k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12.0k
    DISPATCH(PARENT);               \
52
12.0k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTypeLoc(clang::DeducedTypeLoc)
Line
Count
Source
50
12.2k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12.2k
    DISPATCH(PARENT);               \
52
12.2k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc)
Line
Count
Source
50
253
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
253
    DISPATCH(PARENT);               \
52
253
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitInjectedClassNameTypeLoc(clang::InjectedClassNameTypeLoc)
Line
Count
Source
50
269k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
269k
    DISPATCH(PARENT);               \
52
269k
  }
Unexecuted instantiation: SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitPackExpansionTypeLoc(clang::PackExpansionTypeLoc)
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitObjCTypeParamTypeLoc(clang::ObjCTypeParamTypeLoc)
Line
Count
Source
50
5.39k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
5.39k
    DISPATCH(PARENT);               \
52
5.39k
  }
53
#include "clang/AST/TypeLocNodes.def"
54
55
  RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); }
56
};
57
58
#undef DISPATCH
59
60
}  // end namespace clang
61
62
#endif // LLVM_CLANG_AST_TYPELOCVISITOR_H