Fix members initialization order in constructor (fails with -Werror)

llvm-svn: 333276
This commit is contained in:
Ivan Donchevskii 2018-05-25 13:46:07 +00:00
parent 3ea7442bd6
commit 5b3589b051
1 changed files with 3 additions and 3 deletions
clang/include/clang/Sema

View File

@ -840,10 +840,10 @@ public:
bool Accessible = true,
std::vector<FixItHint> FixIts = std::vector<FixItHint>())
: Declaration(Declaration), Priority(Priority), Kind(RK_Declaration),
Hidden(false), QualifierIsInformative(QualifierIsInformative),
FixIts(std::move(FixIts)), Hidden(false),
QualifierIsInformative(QualifierIsInformative),
StartsNestedNameSpecifier(false), AllParametersAreInformative(false),
DeclaringEntity(false), Qualifier(Qualifier),
FixIts(std::move(FixIts)) {
DeclaringEntity(false), Qualifier(Qualifier) {
//FIXME: Add assert to check FixIts range requirements.
computeCursorKindAndAvailability(Accessible);
}