diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-13 23:47:42 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-13 23:47:42 +0000 |
commit | aca017e80250d650c0c9d288c50bf02d7fb3cd3b (patch) | |
tree | 95cf067299265c14615e26265dd098a01cc75da3 /clang/include/clang/Sema/Initialization.h | |
parent | 68a2fef9ae5beadd0ca7974d936e98caa04aa085 (diff) | |
download | bcm5719-llvm-aca017e80250d650c0c9d288c50bf02d7fb3cd3b.tar.gz bcm5719-llvm-aca017e80250d650c0c9d288c50bf02d7fb3cd3b.zip |
Remove unused SK_LValueToRValue initialization step.
In addition to being unused and duplicating code, this was also wrong
(it didn't properly mark the operand as being potentially not odr-used).
llvm-svn: 363340
Diffstat (limited to 'clang/include/clang/Sema/Initialization.h')
-rw-r--r-- | clang/include/clang/Sema/Initialization.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/include/clang/Sema/Initialization.h b/clang/include/clang/Sema/Initialization.h index 1c522e49bc6..f726f383630 100644 --- a/clang/include/clang/Sema/Initialization.h +++ b/clang/include/clang/Sema/Initialization.h @@ -821,9 +821,6 @@ public: /// Perform a conversion adding _Atomic to a type. SK_AtomicConversion, - /// Perform a load from a glvalue, producing an rvalue. - SK_LValueToRValue, - /// Perform an implicit conversion sequence. SK_ConversionSequence, @@ -1270,12 +1267,6 @@ public: /// type. void AddAtomicConversionStep(QualType Ty); - /// Add a new step that performs a load of the given type. - /// - /// Although the term "LValueToRValue" is conventional, this applies to both - /// lvalues and xvalues. - void AddLValueToRValueStep(QualType Ty); - /// Add a new step that applies an implicit conversion sequence. void AddConversionSequenceStep(const ImplicitConversionSequence &ICS, QualType T, bool TopLevelOfInitList = false); |