clang  14.0.0git
FileEntry.cpp
Go to the documentation of this file.
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// \file
10 /// Defines implementation for clang::FileEntry and clang::FileEntryRef.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "clang/Basic/FileEntry.h"
15 #include "llvm/Support/MemoryBuffer.h"
16 #include "llvm/Support/VirtualFileSystem.h"
17 
18 using namespace clang;
19 
20 FileEntry::FileEntry() : UniqueID(0, 0) {}
21 
22 FileEntry::~FileEntry() = default;
23 
24 void FileEntry::closeFile() const { File.reset(); }
clang::FileEntry::FileEntry
FileEntry()
Definition: FileEntry.cpp:20
FileEntry.h
clang::FileEntry::closeFile
void closeFile() const
Definition: FileEntry.cpp:24
clang
Definition: CalledOnceCheck.h:17
clang::FileEntry::~FileEntry
~FileEntry()