1. Dec 09, 2022
    • Peter Klausler's avatar
      [flang] Restore old unit locking behavior · 00a1c6d0
      Peter Klausler authored
      Rework  the recursive I/O error check on I/O units so that
      threads again hold a lock on a unit throughout an I/O statement.
      Add an API to the runtime's Lock class implementation for pthreads
      to allow detection of solf-deadlock without depending on EDEADLK
      or recursive mutexes.
      
      This should fix I/O from OpenMP threads.
      
      Differential Revision: https://reviews.llvm.org/D139477
      00a1c6d0
    • Jakub Kuderski's avatar
      690bed8c
    • Brett Wilson's avatar
      [clang-doc] Add template support. · 4a68babd
      Brett Wilson authored
      Reads template information from the AST and adds template parameters and
      specialization information to the corresponding clang-doc structures.
      
      Add a "QualName" to the Reference struct which includes the full
      qualified type name. The Reference object represents a link in the
      HTML/MD generators so is based on the unqualified name. But this does
      not encode C-V qualifiers or template information that decorate the
      name. The new QualName member encodes all of this information and also
      makes it easier for the generators or downsteam YAML consumers to
      generate the full name (before they had to process the "Path").
      
      In test code that was changed, remove made-up paths to built-in types
      like "int". In addition to slightnly cleaning up the code, these types
      do not have paths in real execution, and generating incorrect references
      to nonexistant data may complicate future changes in the generators.
      
      Convert llvm::Optional to std::optional (YAML library requires this for
      the new usage,...
      4a68babd
  2. Dec 08, 2022