Commit 3a158cc8 authored by Jie Fu's avatar Jie Fu
Browse files

[clang] Fix -Wreorder-ctor of DependentFunctionTemplateSpecializationInfo (NFC)

/llvm-project/clang/lib/AST/Decl.cpp:4182:7: error: field 'TemplateArgumentsAsWritten' will be initialized after field 'NumCandidates' [-Werror,-Wreorder-ctor]
    : TemplateArgumentsAsWritten(TemplateArgsWritten),
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      NumCandidates(Candidates.size())
1 error generated.
parent 3a3b84b1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment