This patch adds support for deleted C++ special member functions in clang and llvm. Also added Defaulted member encodings for future support for defaulted member functions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/CodeGen/CGDebugInfo.cpp | ||
---|---|---|
1610 | We spell this a DWARF v5 throughout the sources, makes it easier to grep for. Then again, we probably shouldn't be mentioning DWARF here at all. | |
1612 | We usually don't commit TODO notes into the source code. | |
1621 | this should be else if, or, perhaps slightly better switch(Method.getKind()). | |
llvm/include/llvm/IR/DebugInfoFlags.def | ||
92 | ? |
Can you add the new flag to either SourceLevelDebugging.rst or LangRef.rst (wherever it fits better)?
Thanks Adrian for reviewing this! I've addressed your comments. Please have a look.
Working on the adding documentation part.
clang/lib/CodeGen/CGDebugInfo.cpp | ||
---|---|---|
1624 | Hi Adrian, is this fine under switch case, or shall I move it outside ?? | |
llvm/include/llvm/IR/DebugInfoFlags.def | ||
92 | Wanted to add a note, for future support of Defaulted member functions, they can utilize{or overload} this bit. |
Hi @aprantl, could you please review these changes, while I rework on the other one. Thanks!
llvm/docs/SourceLevelDebugging.rst | ||
---|---|---|
998 | let's not say "new" here; this document will live for a long time. How about: DWARF v5 introduce attributes defined to ... |
Hi Adrian, Thanks for taking out time for reviewing this. I've again updated doc.
Currently we're in process of getting commit access, discussion with Tom in progress
So, could you please commit these changes.
Thank you so much!
We spell this a DWARF v5 throughout the sources, makes it easier to grep for.
Then again, we probably shouldn't be mentioning DWARF here at all.