xref: /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ModuleFileExtension.cpp (revision e038c9c4676b0f19b1b7dd08a940c6ed64a6d5ae)
17330f729Sjoerg //===-- ModuleFileExtension.cpp - Module File Extensions ------------------===//
27330f729Sjoerg //
37330f729Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
47330f729Sjoerg // See https://llvm.org/LICENSE.txt for license information.
57330f729Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
67330f729Sjoerg //
77330f729Sjoerg //===----------------------------------------------------------------------===//
87330f729Sjoerg #include "clang/Serialization/ModuleFileExtension.h"
97330f729Sjoerg #include "llvm/ADT/Hashing.h"
107330f729Sjoerg using namespace clang;
117330f729Sjoerg 
12*e038c9c4Sjoerg char ModuleFileExtension::ID = 0;
13*e038c9c4Sjoerg 
~ModuleFileExtension()147330f729Sjoerg ModuleFileExtension::~ModuleFileExtension() { }
157330f729Sjoerg 
hashExtension(llvm::hash_code Code) const167330f729Sjoerg llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const {
177330f729Sjoerg   return Code;
187330f729Sjoerg }
197330f729Sjoerg 
~ModuleFileExtensionWriter()207330f729Sjoerg ModuleFileExtensionWriter::~ModuleFileExtensionWriter() { }
217330f729Sjoerg 
~ModuleFileExtensionReader()227330f729Sjoerg ModuleFileExtensionReader::~ModuleFileExtensionReader() { }
23