зеркало из https://github.com/microsoft/clang-1.git
Remove obsolete ObjCInferRelatedReturnType from LangOptions...the correct option is ObjCInferRelatedResultType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
49e34be6ae
Коммит
3b84ab9f2a
|
@ -134,8 +134,6 @@ public:
|
|||
unsigned NoBitFieldTypeAlign : 1;
|
||||
unsigned ObjCAutoRefCount : 1; // Objective C automated reference counting
|
||||
unsigned ObjCRuntimeHasWeak : 1; // The ARC runtime supports __weak
|
||||
unsigned ObjCInferRelatedReturnType : 1; // Infer Objective-C related return
|
||||
// types
|
||||
unsigned FakeAddressSpaceMap : 1; // Use a fake address space map, for
|
||||
// testing languages such as OpenCL.
|
||||
|
||||
|
@ -180,7 +178,6 @@ public:
|
|||
HexFloats = 0;
|
||||
ObjCAutoRefCount = 0;
|
||||
ObjCRuntimeHasWeak = 0;
|
||||
ObjCInferRelatedReturnType = 0;
|
||||
GC = ObjC1 = ObjC2 = ObjCNonFragileABI = ObjCNonFragileABI2 = 0;
|
||||
AppleKext = 0;
|
||||
ObjCDefaultSynthProperties = 0;
|
||||
|
|
|
@ -154,7 +154,6 @@ PCHValidator::ReadLanguageOptions(const LangOptions &LangOpts) {
|
|||
PARSE_LANGOPT_IMPORTANT(ElideConstructors, diag::warn_pch_elide_constructors);
|
||||
PARSE_LANGOPT_BENIGN(SpellChecking);
|
||||
PARSE_LANGOPT_IMPORTANT(ObjCAutoRefCount, diag::warn_pch_auto_ref_count);
|
||||
PARSE_LANGOPT_BENIGN(ObjCInferRelatedReturnType);
|
||||
#undef PARSE_LANGOPT_IMPORTANT
|
||||
#undef PARSE_LANGOPT_BENIGN
|
||||
|
||||
|
@ -3085,7 +3084,6 @@ bool ASTReader::ParseLanguageOptions(
|
|||
PARSE_LANGOPT(SpellChecking);
|
||||
PARSE_LANGOPT(MRTD);
|
||||
PARSE_LANGOPT(ObjCAutoRefCount);
|
||||
PARSE_LANGOPT(ObjCInferRelatedReturnType);
|
||||
#undef PARSE_LANGOPT
|
||||
|
||||
return Listener->ReadLanguageOptions(LangOpts);
|
||||
|
|
|
@ -1134,7 +1134,6 @@ void ASTWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
|
|||
Record.push_back(LangOpts.SpellChecking);
|
||||
Record.push_back(LangOpts.MRTD);
|
||||
Record.push_back(LangOpts.ObjCAutoRefCount);
|
||||
Record.push_back(LangOpts.ObjCInferRelatedReturnType);
|
||||
Stream.EmitRecord(LANGUAGE_OPTIONS, Record);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче