forked from OSchip/llvm-project
[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:
parent
f69eba0772
commit
a8c3608a27
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue