//===--- TypeLocBuilder.cpp - Type Source Info collector ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This files defines TypeLocBuilder, a class for building TypeLocs // bottom-up. // //===----------------------------------------------------------------------===// #include "TypeLocBuilder.h" usingnamespaceclang; void TypeLocBuilder::pushFullCopy(TypeLoc L) { … } void TypeLocBuilder::pushTrivial(ASTContext &Context, QualType T, SourceLocation Loc) { … } void TypeLocBuilder::grow(size_t NewCapacity) { … } TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { … }