[all-commits] [llvm/llvm-project] 2c93be: [InstallAPI] Collect C++ Decls (#84403)

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Mon Mar 11 09:03:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c93beccdf8e026534a737eddaf8f5f26f3a23c3
      https://github.com/llvm/llvm-project/commit/2c93beccdf8e026534a737eddaf8f5f26f3a23c3
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M clang/include/clang/InstallAPI/Visitor.h
    M clang/lib/InstallAPI/Frontend.cpp
    M clang/lib/InstallAPI/Visitor.cpp
    A clang/test/InstallAPI/cpp.test
    M clang/tools/clang-installapi/Options.cpp
    M clang/tools/clang-installapi/Options.h

  Log Message:
  -----------
  [InstallAPI] Collect C++ Decls (#84403)

This includes capturing symbols for global variables, functions,
classes, and templated defintions. As pre-determing what symbols are
generated from C++ declarations can be non-trivial, InstallAPI only
parses select declarations for symbol generation when parsing c++.

For example, installapi only looks at explicit template instantiations
or full template specializations, instead of general function or class
templates, for symbol emittion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list