[Sema] Provide declarations for MaximumAlignment, MaxAlignmentExponent variables

clang-armv7-linux-build-cache bot is complaining about undefined
references to these variables during linking, so by explicitly
placing them in some TU we should be able to fix that.
This commit is contained in:
Roman Lebedev 2020-01-24 18:17:34 +03:00
parent f69eba0772
commit a8c3608a27
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ public:
} // end namespace sema
} // end namespace clang
const unsigned Sema::MaxAlignmentExponent;
const unsigned Sema::MaximumAlignment;
Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
TranslationUnitKind TUKind, CodeCompleteConsumer *CodeCompleter)
: ExternalSource(nullptr), isMultiplexExternalSource(false),