forked from OSchip/llvm-project
Fix members initialization order in constructor (fails with -Werror)
llvm-svn: 333276
This commit is contained in:
parent
3ea7442bd6
commit
5b3589b051
clang/include/clang/Sema
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue