xref: /freebsd/contrib/llvm-project/clang/lib/Serialization/ModuleFileExtension.cpp (revision 093cf790569775b80662926efea6d9d3464bde94)
1 //===-- ModuleFileExtension.cpp - Module File Extensions ------------------===//
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 #include "clang/Serialization/ModuleFileExtension.h"
9 #include "llvm/ADT/Hashing.h"
10 using namespace clang;
11 
12 char ModuleFileExtension::ID = 0;
13 
14 ModuleFileExtension::~ModuleFileExtension() { }
15 
16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const {
17   return Code;
18 }
19 
20 ModuleFileExtensionWriter::~ModuleFileExtensionWriter() { }
21 
22 ModuleFileExtensionReader::~ModuleFileExtensionReader() { }
23