Deleted Added
full compact
TypeLocVisitor.h (198398) TypeLocVisitor.h (200583)
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//===----------------------------------------------------------------------===//

--- 19 unchanged lines hidden (view full) ---

28public:
29 RetTy Visit(TypeLoc TyLoc) {
30 switch (TyLoc.getTypeLocClass()) {
31#define ABSTRACT_TYPELOC(CLASS, PARENT)
32#define TYPELOC(CLASS, PARENT) \
33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34#include "clang/AST/TypeLocNodes.def"
35 }
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//===----------------------------------------------------------------------===//

--- 19 unchanged lines hidden (view full) ---

28public:
29 RetTy Visit(TypeLoc TyLoc) {
30 switch (TyLoc.getTypeLocClass()) {
31#define ABSTRACT_TYPELOC(CLASS, PARENT)
32#define TYPELOC(CLASS, PARENT) \
33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
34#include "clang/AST/TypeLocNodes.def"
35 }
36 llvm::llvm_unreachable("unexpected type loc class!");
36 llvm_unreachable("unexpected type loc class!");
37 }
38
39 RetTy Visit(UnqualTypeLoc TyLoc) {
40 switch (TyLoc.getTypeLocClass()) {
41#define ABSTRACT_TYPELOC(CLASS, PARENT)
42#define TYPELOC(CLASS, PARENT) \
43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
44#include "clang/AST/TypeLocNodes.def"

--- 17 unchanged lines hidden ---
37 }
38
39 RetTy Visit(UnqualTypeLoc TyLoc) {
40 switch (TyLoc.getTypeLocClass()) {
41#define ABSTRACT_TYPELOC(CLASS, PARENT)
42#define TYPELOC(CLASS, PARENT) \
43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
44#include "clang/AST/TypeLocNodes.def"

--- 17 unchanged lines hidden ---