brintos

brintos / llvm-project-archived public Read only

0
0
Text · 776 B · 2efdcbb Raw
24 lines · cpp
1//===- FileEntry.cpp - File references --------------------------*- 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-exception6//7//===----------------------------------------------------------------------===//8//9/// \file10/// Defines implementation for clang::FileEntry and clang::FileEntryRef.11//12//===----------------------------------------------------------------------===//13 14#include "clang/Basic/FileEntry.h"15#include "llvm/Support/VirtualFileSystem.h"16 17using namespace clang;18 19FileEntry::FileEntry() : UniqueID(0, 0) {}20 21FileEntry::~FileEntry() = default;22 23void FileEntry::closeFile() const { File.reset(); }24