Path: blob/main/contrib/llvm-project/clang/lib/Lex/PPCallbacks.cpp
35233 views
//===--- PPCallbacks.cpp - Callbacks for Preprocessor actions ---*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "clang/Lex/PPCallbacks.h"9#include "clang/Basic/FileManager.h"1011using namespace clang;1213// Out of line key method.14PPCallbacks::~PPCallbacks() = default;1516void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName,17bool IsAngled, OptionalFileEntryRef File,18SrcMgr::CharacteristicKind FileType) {}1920// Out of line key method.21PPChainedCallbacks::~PPChainedCallbacks() = default;2223void PPChainedCallbacks::HasInclude(SourceLocation Loc, StringRef FileName,24bool IsAngled, OptionalFileEntryRef File,25SrcMgr::CharacteristicKind FileType) {26First->HasInclude(Loc, FileName, IsAngled, File, FileType);27Second->HasInclude(Loc, FileName, IsAngled, File, FileType);28}293031