comparison include/llvm/MC/StringTableBuilder.h @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
1 //===-- StringTableBuilder.h - String table building utility ------*- C++ -*-=// 1 //===- StringTableBuilder.h - String table building utility -----*- C++ -*-===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
10 #ifndef LLVM_MC_STRINGTABLEBUILDER_H 10 #ifndef LLVM_MC_STRINGTABLEBUILDER_H
11 #define LLVM_MC_STRINGTABLEBUILDER_H 11 #define LLVM_MC_STRINGTABLEBUILDER_H
12 12
13 #include "llvm/ADT/CachedHashString.h" 13 #include "llvm/ADT/CachedHashString.h"
14 #include "llvm/ADT/DenseMap.h" 14 #include "llvm/ADT/DenseMap.h"
15 #include <cassert> 15 #include "llvm/ADT/StringRef.h"
16 #include <cstddef>
17 #include <cstdint>
16 18
17 namespace llvm { 19 namespace llvm {
20
18 class raw_ostream; 21 class raw_ostream;
19 22
20 /// \brief Utility for building string tables with deduplicated suffixes. 23 /// \brief Utility for building string tables with deduplicated suffixes.
21 class StringTableBuilder { 24 class StringTableBuilder {
22 public: 25 public:
65 68
66 private: 69 private:
67 bool isFinalized() const { return Finalized; } 70 bool isFinalized() const { return Finalized; }
68 }; 71 };
69 72
70 } // end llvm namespace 73 } // end namespace llvm
71 74
72 #endif 75 #endif // LLVM_MC_STRINGTABLEBUILDER_H