Coverage Report

Created: 2019-02-23 12:57

/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.16G
  return static_cast<ImplClass*>(this)-> \
23
1.16G
    Visit##CLASSNAME(TyLoc.castAs<CLASSNAME>())
24
25
template<typename ImplClass, typename RetTy=void>
26
class TypeLocVisitor {
27
public:
28
532M
  RetTy Visit(TypeLoc TyLoc) {
29
532M
    switch (TyLoc.getTypeLocClass()) {
30
532M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
532M
#define TYPELOC(CLASS, PARENT) \
32
1.06G
    
case TypeLoc::CLASS: 532M
DISPATCH(CLASS##TypeLoc);
33
532M
#include 
"clang/AST/TypeLocNodes.def"20.4M
34
532M
    }
35
532M
    
llvm_unreachable0
("unexpected type loc class!");
36
532M
  }
clang::TypeLocVisitor<clang::TypeLocReader, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
168k
  RetTy Visit(TypeLoc TyLoc) {
29
168k
    switch (TyLoc.getTypeLocClass()) {
30
168k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
168k
#define TYPELOC(CLASS, PARENT) \
32
168k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
168k
#include 
"clang/AST/TypeLocNodes.def"4.56k
34
168k
    }
35
168k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
ASTWriter.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocWriter, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
608k
  RetTy Visit(TypeLoc TyLoc) {
29
608k
    switch (TyLoc.getTypeLocClass()) {
30
608k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
608k
#define TYPELOC(CLASS, PARENT) \
32
608k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
608k
#include 
"clang/AST/TypeLocNodes.def"83.1k
34
608k
    }
35
608k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
63.6k
  RetTy Visit(TypeLoc TyLoc) {
29
63.6k
    switch (TyLoc.getTypeLocClass()) {
30
63.6k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
63.6k
#define TYPELOC(CLASS, PARENT) \
32
63.6k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
63.6k
#include 
"clang/AST/TypeLocNodes.def"13.0k
34
63.6k
    }
35
63.6k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocRanger, clang::SourceRange>::Visit(clang::TypeLoc)
Line
Count
Source
28
165M
  RetTy Visit(TypeLoc TyLoc) {
29
165M
    switch (TyLoc.getTypeLocClass()) {
30
165M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
165M
#define TYPELOC(CLASS, PARENT) \
32
165M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
165M
#include 
"clang/AST/TypeLocNodes.def"20.0k
34
165M
    }
35
165M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeAligner, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
28
126M
  RetTy Visit(TypeLoc TyLoc) {
29
126M
    switch (TyLoc.getTypeLocClass()) {
30
126M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
126M
#define TYPELOC(CLASS, PARENT) \
32
126M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
126M
#include 
"clang/AST/TypeLocNodes.def"10.2M
34
126M
    }
35
126M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSizer, unsigned int>::Visit(clang::TypeLoc)
Line
Count
Source
28
70.2M
  RetTy Visit(TypeLoc TyLoc) {
29
70.2M
    switch (TyLoc.getTypeLocClass()) {
30
70.2M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
70.2M
#define TYPELOC(CLASS, PARENT) \
32
70.2M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
70.2M
#include 
"clang/AST/TypeLocNodes.def"3.83M
34
70.2M
    }
35
70.2M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::NextLoc, clang::TypeLoc>::Visit(clang::TypeLoc)
Line
Count
Source
28
168M
  RetTy Visit(TypeLoc TyLoc) {
29
168M
    switch (TyLoc.getTypeLocClass()) {
30
168M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
168M
#define TYPELOC(CLASS, PARENT) \
32
168M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
168M
#include 
"clang/AST/TypeLocNodes.def"6.23M
34
168M
    }
35
168M
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeLocCopier, void>::Visit(clang::TypeLoc)
Line
Count
Source
28
7.62k
  RetTy Visit(TypeLoc TyLoc) {
29
7.62k
    switch (TyLoc.getTypeLocClass()) {
30
7.62k
#define ABSTRACT_TYPELOC(CLASS, PARENT)
31
7.62k
#define TYPELOC(CLASS, PARENT) \
32
7.62k
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
33
7.62k
#include 
"clang/AST/TypeLocNodes.def"4
34
7.62k
    }
35
7.62k
    
llvm_unreachable0
("unexpected type loc class!");
36
  }
Unexecuted instantiation: TypeLoc.cpp:clang::TypeLocVisitor<(anonymous namespace)::TSTChecker, bool>::Visit(clang::TypeLoc)
37
38
41.8M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
41.8M
    switch (TyLoc.getTypeLocClass()) {
40
41.8M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
41.8M
#define TYPELOC(CLASS, PARENT) \
42
83.7M
    
case TypeLoc::CLASS: 41.8M
DISPATCH(CLASS##TypeLoc);
43
41.8M
#include 
"clang/AST/TypeLocNodes.def"0
44
41.8M
    }
45
41.8M
    
llvm_unreachable0
("unexpected type loc class!");
46
41.8M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
38
11.8M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
11.8M
    switch (TyLoc.getTypeLocClass()) {
40
11.8M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
11.8M
#define TYPELOC(CLASS, PARENT) \
42
11.8M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
43
11.8M
#include 
"clang/AST/TypeLocNodes.def"0
44
11.8M
    }
45
11.8M
    
llvm_unreachable0
("unexpected type loc class!");
46
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::Visit(clang::UnqualTypeLoc)
Line
Count
Source
38
29.9M
  RetTy Visit(UnqualTypeLoc TyLoc) {
39
29.9M
    switch (TyLoc.getTypeLocClass()) {
40
29.9M
#define ABSTRACT_TYPELOC(CLASS, PARENT)
41
29.9M
#define TYPELOC(CLASS, PARENT) \
42
29.9M
    case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
43
29.9M
#include 
"clang/AST/TypeLocNodes.def"0
44
29.9M
    }
45
29.9M
    
llvm_unreachable0
("unexpected type loc class!");
46
  }
47
48
#define TYPELOC(CLASS, PARENT)      \
49
12.0M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
12.0M
    DISPATCH(PARENT);               \
51
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
49
254k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
254k
    DISPATCH(PARENT);               \
51
254k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitIncompleteArrayTypeLoc(clang::IncompleteArrayTypeLoc)
Line
Count
Source
49
41.1k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
41.1k
    DISPATCH(PARENT);               \
51
41.1k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitVariableArrayTypeLoc(clang::VariableArrayTypeLoc)
Line
Count
Source
49
4.96k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
4.96k
    DISPATCH(PARENT);               \
51
4.96k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitDependentSizedArrayTypeLoc(clang::DependentSizedArrayTypeLoc)
Line
Count
Source
49
34.0k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
34.0k
    DISPATCH(PARENT);               \
51
34.0k
  }
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
5.80M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
5.80M
    DISPATCH(PARENT);               \
51
5.80M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::DeclaratorLocFiller, void>::VisitFunctionNoProtoTypeLoc(clang::FunctionNoProtoTypeLoc)
Line
Count
Source
49
36.1k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
36.1k
    DISPATCH(PARENT);               \
51
36.1k
  }
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.2k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
11.2k
    DISPATCH(PARENT);               \
51
11.2k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitPointerTypeLoc(clang::PointerTypeLoc)
Line
Count
Source
49
3
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
3
    DISPATCH(PARENT);               \
51
3
  }
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
277k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
277k
    DISPATCH(PARENT);               \
51
277k
  }
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.73k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
1.73k
    DISPATCH(PARENT);               \
51
1.73k
  }
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
28
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
28
    DISPATCH(PARENT);               \
51
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
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
35.2k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
35.2k
    DISPATCH(PARENT);               \
51
35.2k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitRecordTypeLoc(clang::RecordTypeLoc)
Line
Count
Source
49
1.32M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
1.32M
    DISPATCH(PARENT);               \
51
1.32M
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitEnumTypeLoc(clang::EnumTypeLoc)
Line
Count
Source
49
108k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
108k
    DISPATCH(PARENT);               \
51
108k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitTemplateTypeParmTypeLoc(clang::TemplateTypeParmTypeLoc)
Line
Count
Source
49
3.85M
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
3.85M
    DISPATCH(PARENT);               \
51
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
49
13.1k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
13.1k
    DISPATCH(PARENT);               \
51
13.1k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTypeLoc(clang::DeducedTypeLoc)
Line
Count
Source
49
13.3k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
13.3k
    DISPATCH(PARENT);               \
51
13.3k
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc)
Line
Count
Source
49
272
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
272
    DISPATCH(PARENT);               \
51
272
  }
SemaType.cpp:clang::TypeLocVisitor<(anonymous namespace)::TypeSpecLocFiller, void>::VisitInjectedClassNameTypeLoc(clang::InjectedClassNameTypeLoc)
Line
Count
Source
49
273k
  RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
50
273k
    DISPATCH(PARENT);               \
51
273k
  }
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