Coverage Report

Created: 2019-07-24 05:18

/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
// 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 TypeLocVisitor interface.
10
//
11
//===----------------------------------------------------------------------===//
12
#ifndef LLVM_CLANG_AST_TYPELOCVISITOR_H
13
#define LLVM_CLANG_AST_TYPELOCVISITOR_H
14
15
#include "clang/AST/TypeLoc.h"
16
#include "clang/AST/TypeVisitor.h"
17
#include "llvm/Support/ErrorHandling.h"
18
19
namespace clang {
20
21
#define DISPATCH(CLASSNAME) \
22
1.28G
  return static_cast<ImplClass*>(this)-> \
23
1.28G
    Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
24
25
template<typename ImplClass, typename RetTy=void>
26
class TypeLocVisitor {
27
public:
28
588M
  RetTy Visit(TypeLoc TyLoc) {
29
588M
    switch (TyLoc.getTypeLocClass()) {
30
588M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
588M
#define TYPELOC(CLASS, PARENT) \
32
1.17G
    
case TypeLoc::CLASS: 588M
DISPATCH(CLASS##TypeLoc);
33
588M
#include 
"clang/AST/TypeLocNodes.def"21.6M
34
588M
    }
35
588M
    
llvm_unreachable0
("unexpected type loc class!");
36
588M
  }
clang::TypeLocVisitor<clang::TypeLocReader, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
172k
  RetTy Visit(TypeLoc TyLoc) {
29
172k
    switch (TyLoc.getTypeLocClass()) {
30
172k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
172k
#define TYPELOC(CLASS, PARENT) \
32
172k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
172k
#include 
"clang/AST/TypeLocNodes.def"4.90k
34
172k
    }
35
172k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
ASTWriter.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocWriter, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
679k
  RetTy Visit(TypeLoc TyLoc) {
29
679k
    switch (TyLoc.getTypeLocClass()) {
30
679k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
679k
#define TYPELOC(CLASS, PARENT) \
32
679k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
679k
#include 
"clang/AST/TypeLocNodes.def"83.3k
34
679k
    }
35
679k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
66.9k
  RetTy Visit(TypeLoc TyLoc) {
29
66.9k
    switch (TyLoc.getTypeLocClass()) {
30
66.9k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
66.9k
#define TYPELOC(CLASS, PARENT) \
32
66.9k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
66.9k
#include 
"clang/AST/TypeLocNodes.def"13.2k
34
66.9k
    }
35
66.9k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocRanger, clang::SourceRange>::Visit(clang::TypeLoc)
Line
Count
Source
28
187M
  RetTy Visit(TypeLoc TyLoc) {
29
187M
    switch (TyLoc.getTypeLocClass()) {
30
187M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
187M
#define TYPELOC(CLASS, PARENT) \
32
187M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
187M
#include 
"clang/AST/TypeLocNodes.def"20.6k
34
187M
    }
35
187M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeAligner, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
28
137M
  RetTy Visit(TypeLoc TyLoc) {
29
137M
    switch (TyLoc.getTypeLocClass()) {
30
137M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
137M
#define TYPELOC(CLASS, PARENT) \
32
137M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
137M
#include 
"clang/AST/TypeLocNodes.def"10.7M
34
137M
    }
35
137M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSizer, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
28
76.5M
  RetTy Visit(TypeLoc TyLoc) {
29
76.5M
    switch (TyLoc.getTypeLocClass()) {
30
76.5M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
76.5M
#define TYPELOC(CLASS, PARENT) \
32
76.5M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
76.5M
#include 
"clang/AST/TypeLocNodes.def"4.09M
34
76.5M
    }
35
76.5M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::NextLoc, clang::TypeLoc>::Visit(clang::TypeLoc)
Line
Count
Source
28
186M
  RetTy Visit(TypeLoc TyLoc) {
29
186M
    switch (TyLoc.getTypeLocClass()) {
30
186M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
186M
#define TYPELOC(CLASS, PARENT) \
32
186M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
186M
#include 
"clang/AST/TypeLocNodes.def"6.71M
34
186M
    }
35
186M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocCopier, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
7.35k
  RetTy Visit(TypeLoc TyLoc) {
29
7.35k
    switch (TyLoc.getTypeLocClass()) {
30
7.35k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
7.35k
#define TYPELOC(CLASS, PARENT) \
32
7.35k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
7.35k
#include 
"clang/AST/TypeLocNodes.def"4
34
7.35k
    }
35
7.35k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
Unexecuted instantiation: TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TSTChecker, bool>::Visit(clang::TypeLoc)
37
38
44.7M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
44.7M
    switch (TyLoc.getTypeLocClass()) {
40
44.7M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
44.7M
#define TYPELOC(CLASS, PARENT) \
42
89.5M
    
case TypeLoc::CLASS: 44.7M
DISPATCH(CLASS##TypeLoc);
43
44.7M
#include 
"clang/AST/TypeLocNodes.def"0
44
44.7M
    }
45
44.7M
    
llvm_unreachable0
("unexpected type loc class!");
46
44.7M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
38
12.5M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
12.5M
    switch (TyLoc.getTypeLocClass()) {
40
12.5M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
12.5M
#define TYPELOC(CLASS, PARENT) \
42
12.5M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
43
12.5M
#include 
"clang/AST/TypeLocNodes.def"0
44
12.5M
    }
45
12.5M
    
llvm_unreachable0
("unexpected type loc class!");
46
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
38
32.2M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
32.2M
    switch (TyLoc.getTypeLocClass()) {
40
32.2M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
32.2M
#define TYPELOC(CLASS, PARENT) \
42
32.2M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
43
32.2M
#include 
"clang/AST/TypeLocNodes.def"0
44
32.2M
    }
45
32.2M
    
llvm_unreachable0
("unexpected type loc class!");
46
  }
47
48
#define TYPELOC(CLASS, PARENT)      \
49
13.0M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
13.0M
    DISPATCH(PARENT);               \
51
13.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
49
258k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
258k
    DISPATCH(PARENT);               \
51
258k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitIncompleteArrayTypeLoc(clang::IncompleteArrayTypeLoc)
Line
Count
Source
49
42.8k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
42.8k
    DISPATCH(PARENT);               \
51
42.8k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitVariableArrayTypeLoc(clang::VariableArrayTypeLoc)
Line
Count
Source
49
4.97k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
4.97k
    DISPATCH(PARENT);               \
51
4.97k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentSizedArrayTypeLoc(clang::DependentSizedArrayTypeLoc)
Line
Count
Source
49
40.3k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
40.3k
    DISPATCH(PARENT);               \
51
40.3k
  }
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
49
6.25M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
6.25M
    DISPATCH(PARENT);               \
51
6.25M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitFunctionNoProtoTypeLoc(clang::FunctionNoProtoTypeLoc)
Line
Count
Source
49
37.5k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
37.5k
    DISPATCH(PARENT);               \
51
37.5k
  }
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
49
11.6k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
11.6k
    DISPATCH(PARENT);               \
51
11.6k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitPointerTypeLoc(clang::PointerTypeLoc)
Line
Count
Source
49
4
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
4
    DISPATCH(PARENT);               \
51
4
  }
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
49
24
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
24
    DISPATCH(PARENT);               \
51
24
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentAddressSpaceTypeLoc(clang::DependentAddressSpaceTypeLoc)
Line
Count
Source
49
44
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
44
    DISPATCH(PARENT);               \
51
44
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitVectorTypeLoc(clang::VectorTypeLoc)
Line
Count
Source
49
441k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
441k
    DISPATCH(PARENT);               \
51
441k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDependentVectorTypeLoc(clang::DependentVectorTypeLoc)
Line
Count
Source
49
12
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
12
    DISPATCH(PARENT);               \
51
12
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitExtVectorTypeLoc(clang::ExtVectorTypeLoc)
Line
Count
Source
49
1.98k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
1.98k
    DISPATCH(PARENT);               \
51
1.98k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitFunctionProtoTypeLoc(clang::FunctionProtoTypeLoc)
Line
Count
Source
49
11
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
11
    DISPATCH(PARENT);               \
51
11
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitFunctionTypeLoc(clang::FunctionTypeLoc)
Line
Count
Source
49
11
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
11
    DISPATCH(PARENT);               \
51
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
49
29
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
29
    DISPATCH(PARENT);               \
51
29
  }
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
49
5
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
5
    DISPATCH(PARENT);               \
51
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
49
42.1k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
42.1k
    DISPATCH(PARENT);               \
51
42.1k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitRecordTypeLoc(clang::RecordTypeLoc)
Line
Count
Source
49
1.36M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
1.36M
    DISPATCH(PARENT);               \
51
1.36M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitEnumTypeLoc(clang::EnumTypeLoc)
Line
Count
Source
49
115k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
115k
    DISPATCH(PARENT);               \
51
115k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitTemplateTypeParmTypeLoc(clang::TemplateTypeParmTypeLoc)
Line
Count
Source
49
4.15M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
4.15M
    DISPATCH(PARENT);               \
51
4.15M
  }
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
49
14.4k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
14.4k
    DISPATCH(PARENT);               \
51
14.4k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTypeLoc(clang::DeducedTypeLoc)
Line
Count
Source
49
14.7k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
14.7k
    DISPATCH(PARENT);               \
51
14.7k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc)
Line
Count
Source
49
353
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
353
    DISPATCH(PARENT);               \
51
353
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitInjectedClassNameTypeLoc(clang::InjectedClassNameTypeLoc)
Line
Count
Source
49
280k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
280k
    DISPATCH(PARENT);               \
51
280k
  }
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
49
5.40k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
5.40k
    DISPATCH(PARENT);               \
51
5.40k
  }
52
#include "clang/AST/TypeLocNodes.def"
53
54
  RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); }
55
};
56
57
#undef DISPATCH
58
59
}  // end namespace clang
60
61
#endif // LLVM_CLANG_AST_TYPELOCVISITOR_H