aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-16 15:41:18 +0000
committerEli Bendersky <eliben@google.com>2013-04-16 15:41:18 +0000
commit6b51f75cc58b5a431cfb9e808f27f1fc4432913e (patch)
tree7276103b672de836cb3c3ad3fd8278599ad4c97f /include
parenta363b117f41700da0200753e6df62b5e2cb38378 (diff)
downloadexternal_llvm-6b51f75cc58b5a431cfb9e808f27f1fc4432913e.zip
external_llvm-6b51f75cc58b5a431cfb9e808f27f1fc4432913e.tar.gz
external_llvm-6b51f75cc58b5a431cfb9e808f27f1fc4432913e.tar.bz2
Cleanup naming: DataLayout s/TD/DL/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/DataLayout.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/IR/DataLayout.h b/include/llvm/IR/DataLayout.h
index 547d857..b0def6b 100644
--- a/include/llvm/IR/DataLayout.h
+++ b/include/llvm/IR/DataLayout.h
@@ -171,13 +171,13 @@ public:
/// Initialize target data from properties stored in the module.
explicit DataLayout(const Module *M);
- DataLayout(const DataLayout &TD) :
+ DataLayout(const DataLayout &DL) :
ImmutablePass(ID),
- LittleEndian(TD.isLittleEndian()),
- StackNaturalAlign(TD.StackNaturalAlign),
- LegalIntWidths(TD.LegalIntWidths),
- Alignments(TD.Alignments),
- Pointers(TD.Pointers),
+ LittleEndian(DL.isLittleEndian()),
+ StackNaturalAlign(DL.StackNaturalAlign),
+ LegalIntWidths(DL.LegalIntWidths),
+ Alignments(DL.Alignments),
+ Pointers(DL.Pointers),
LayoutMap(0)
{ }
@@ -426,7 +426,7 @@ public:
private:
friend class DataLayout; // Only DataLayout can create this class
- StructLayout(StructType *ST, const DataLayout &TD);
+ StructLayout(StructType *ST, const DataLayout &DL);
};