Coverage Report

Created: 2018-09-23 03:40

/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.12G
  return static_cast<ImplClass*>(this)-> \
24
1.12G
    Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
25
26
template<typename ImplClass, typename RetTy=void>
27
class TypeLocVisitor {
28
public:
29
517M
  RetTy Visit(TypeLoc TyLoc) {
30
517M
    switch (TyLoc.getTypeLocClass()) {
31
517M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
517M
#define TYPELOC(CLASS, PARENT) \
33
1.03G
    
case TypeLoc::CLASS: 517M
DISPATCH(CLASS##TypeLoc);
34
517M
#include 
"clang/AST/TypeLocNodes.def"20.1M
35
517M
    }
36
517M
    
llvm_unreachable0
("unexpected type loc class!");
37
517M
  }
clang::TypeLocVisitor<clang::TypeLocReader, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
159k
  RetTy Visit(TypeLoc TyLoc) {
30
159k
    switch (TyLoc.getTypeLocClass()) {
31
159k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
159k
#define TYPELOC(CLASS, PARENT) \
33
159k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
159k
#include 
"clang/AST/TypeLocNodes.def"3.21k
35
159k
    }
36
159k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
ASTWriter.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocWriter, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
599k
  RetTy Visit(TypeLoc TyLoc) {
30
599k
    switch (TyLoc.getTypeLocClass()) {
31
599k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
599k
#define TYPELOC(CLASS, PARENT) \
33
599k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
599k
#include 
"clang/AST/TypeLocNodes.def"82.3k
35
599k
    }
36
599k
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::TypeLoc)
Line
Count
Source
29
63.1k
  RetTy Visit(TypeLoc TyLoc) {
30
63.1k
    switch (TyLoc.getTypeLocClass()) {
31
63.1k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
63.1k
#define TYPELOC(CLASS, PARENT) \
33
63.1k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
63.1k
#include 
"clang/AST/TypeLocNodes.def"13.5k
35
63.1k
    }
36
63.1k
    
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
124M
  RetTy Visit(TypeLoc TyLoc) {
30
124M
    switch (TyLoc.getTypeLocClass()) {
31
124M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
124M
#define TYPELOC(CLASS, PARENT) \
33
124M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
124M
#include 
"clang/AST/TypeLocNodes.def"10.0M
35
124M
    }
36
124M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSizer, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
29
68.8M
  RetTy Visit(TypeLoc TyLoc) {
30
68.8M
    switch (TyLoc.getTypeLocClass()) {
31
68.8M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
68.8M
#define TYPELOC(CLASS, PARENT) \
33
68.8M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
68.8M
#include 
"clang/AST/TypeLocNodes.def"3.80M
35
68.8M
    }
36
68.8M
    
llvm_unreachable0
("unexpected type loc class!");
37
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::NextLoc, clang::TypeLoc>::Visit(clang::TypeLoc)
Line
Count
Source
29
163M
  RetTy Visit(TypeLoc TyLoc) {
30
163M
    switch (TyLoc.getTypeLocClass()) {
31
163M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
32
163M
#define TYPELOC(CLASS, PARENT) \
33
163M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34
163M
#include 
"clang/AST/TypeLocNodes.def"6.14M
35
163M
    }
36
163M
    
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.2M
  RetTy Visit(UnqualTypeLoc TyLoc) {
40
41.2M
    switch (TyLoc.getTypeLocClass()) {
41
41.2M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
42
41.2M
#define TYPELOC(CLASS, PARENT) \
43
82.5M
    
case TypeLoc::CLASS: 41.2M
DISPATCH(CLASS##TypeLoc);
44
41.2M
#include 
"clang/AST/TypeLocNodes.def"0
45
41.2M
    }
46
41.2M
    
llvm_unreachable0
("unexpected type loc class!");
47
41.2M
  }
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.4M
  RetTy Visit(UnqualTypeLoc TyLoc) {
40
29.4M
    switch (TyLoc.getTypeLocClass()) {
41
29.4M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
42
29.4M
#define TYPELOC(CLASS, PARENT) \
43
29.4M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
44
29.4M
#include 
"clang/AST/TypeLocNodes.def"0
45
29.4M
    }
46
29.4M
    
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.2k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
41.2k
    DISPATCH(PARENT);               \
52
41.2k
  }
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.1k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
35.1k
    DISPATCH(PARENT);               \
52
35.1k
  }
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.73M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
5.73M
    DISPATCH(PARENT);               \
52
5.73M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitFunctionNoProtoTypeLoc(clang::FunctionNoProtoTypeLoc)
Line
Count
Source
50
35.6k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
35.6k
    DISPATCH(PARENT);               \
52
35.6k
  }
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
262k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
262k
    DISPATCH(PARENT);               \
52
262k
  }
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.68k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
1.68k
    DISPATCH(PARENT);               \
52
1.68k
  }
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.8k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
34.8k
    DISPATCH(PARENT);               \
52
34.8k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitRecordTypeLoc(clang::RecordTypeLoc)
Line
Count
Source
50
1.33M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
1.33M
    DISPATCH(PARENT);               \
52
1.33M
  }
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.84M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
3.84M
    DISPATCH(PARENT);               \
52
3.84M
  }
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.5k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12.5k
    DISPATCH(PARENT);               \
52
12.5k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTypeLoc(clang::DeducedTypeLoc)
Line
Count
Source
50
12.8k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
12.8k
    DISPATCH(PARENT);               \
52
12.8k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc)
Line
Count
Source
50
248
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
248
    DISPATCH(PARENT);               \
52
248
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitInjectedClassNameTypeLoc(clang::InjectedClassNameTypeLoc)
Line
Count
Source
50
268k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
51
268k
    DISPATCH(PARENT);               \
52
268k
  }
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