]> granicus.if.org Git - clang/commitdiff
[CodeGen] Delete never used LValueAlign
authorFangrui Song <maskray@google.com>
Tue, 26 Mar 2019 15:39:45 +0000 (15:39 +0000)
committerFangrui Song <maskray@google.com>
Tue, 26 Mar 2019 15:39:45 +0000 (15:39 +0000)
It was added by rC176658 but never used since then.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357001 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGAtomic.cpp

index 11618e18d36c5b989bf067427a4fe296fe46909e..61a05fed84961b48ad65948ff5ce8b4d703e6b61 100644 (file)
@@ -35,7 +35,6 @@ namespace {
     uint64_t ValueSizeInBits;
     CharUnits AtomicAlign;
     CharUnits ValueAlign;
-    CharUnits LValueAlign;
     TypeEvaluationKind EvaluationKind;
     bool UseLibcall;
     LValue LVal;
@@ -132,7 +131,6 @@ namespace {
     QualType getAtomicType() const { return AtomicTy; }
     QualType getValueType() const { return ValueTy; }
     CharUnits getAtomicAlignment() const { return AtomicAlign; }
-    CharUnits getValueAlignment() const { return ValueAlign; }
     uint64_t getAtomicSizeInBits() const { return AtomicSizeInBits; }
     uint64_t getValueSizeInBits() const { return ValueSizeInBits; }
     TypeEvaluationKind getEvaluationKind() const { return EvaluationKind; }