xiaobai marked an inline comment as done.
xiaobai added inline comments.

================
Comment at: lldb/include/lldb/Symbol/DeclVendor.h:27
+    eAppleObjCDeclVendor,
+    eLastClangDeclVendor,
+  };
----------------
JDevlieghere wrote:
> What's `eLastClangDeclVendor` and where is it used?
Following the advice here: https://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html

I added a Last one to indicate that any new ClangDeclVendor subclasses should 
go before this one. It also makes the classof pattern of checking bounds 
easier. (kind >= eFoo && kind < eLastFoo).




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66451/new/

https://reviews.llvm.org/D66451



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to