diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:19:13 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:19:13 +0000 |
commit | 14a384bee634ff5c3f5836a9ff6f5a9449d5173d (patch) | |
tree | 6e5e2e4119414dbaf8f6e8fc0f175c631f7aa200 /llvm/lib/IR/LLVMContextImpl.h | |
parent | 391fc56ffd1831565ce3050442a562529665d101 (diff) | |
download | bcm5719-llvm-14a384bee634ff5c3f5836a9ff6f5a9449d5173d.tar.gz bcm5719-llvm-14a384bee634ff5c3f5836a9ff6f5a9449d5173d.zip |
IR: Remove MDMapTy and MDPairTy typedefs, NFC
Remove some typedefs in preparation for factoring out attachment logic
from `Instruction`.
llvm-svn: 235764
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index aa4c697455b..0ca8e354808 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -951,11 +951,10 @@ public: /// CustomMDKindNames - Map to hold the metadata string to ID mapping. StringMap<unsigned> CustomMDKindNames; - typedef std::pair<unsigned, TrackingMDNodeRef> MDPairTy; - typedef SmallVector<MDPairTy, 2> MDMapTy; - /// Collection of per-instruction metadata used in this context. - DenseMap<const Instruction *, MDMapTy> InstructionMetadata; + DenseMap<const Instruction *, + SmallVector<std::pair<unsigned, TrackingMDNodeRef>, 2>> + InstructionMetadata; /// DiscriminatorTable - This table maps file:line locations to an /// integer representing the next DWARF path discriminator to assign to |