Previsouly clang tried instantiating member initializers even if ctor
body was skipped, this caused spurious errors (see the test).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D41492
[Frontend] Correctly handle instantiating ctors with skipped bodies ClosedPublic Authored by ilya-biryukov on Dec 21 2017, 7:35 AM.
Details Summary Previsouly clang tried instantiating member initializers even if ctor
Diff Detail
Event Timelineilya-biryukov added a child revision: D41495: [clangd] Skip function bodies when building the preamble.Dec 21 2017, 8:19 AM This revision is now accepted and ready to land.Dec 25 2017, 5:19 AM Closed by commit rC321520: [Frontend] Correctly handle instantiating ctors with skipped bodies (authored by ibiryukov). · Explain WhyDec 28 2017, 5:06 AM Closed by commit rL321520: [Frontend] Correctly handle instantiating ctors with skipped bodies (authored by ibiryukov). · Explain Why This revision was automatically updated to reflect the committed changes. This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 128291 cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
cfe/trunk/test/Index/skipped-bodies-ctors.cpp
|