1. May 12, 2024
    • Kazu Hirata's avatar
      [clang] Use StringRef::operator== instead of StringRef::equals (NFC) (#91844) · deffae5d
      Kazu Hirata authored
      I'm planning to remove StringRef::equals in favor of
      StringRef::operator==.
      
      - StringRef::operator==/!= outnumber StringRef::equals by a factor of
        24 under clang/ in terms of their usage.
      
      - The elimination of StringRef::equals brings StringRef closer to
        std::string_view, which has operator== but not equals.
      
      - S == "foo" is more readable than S.equals("foo"), especially for
        !Long.Expression.equals("str") vs Long.Expression != "str".
      deffae5d
    • Timm Bäder's avatar
      [clang][Interp] Use pointee metadata size in isRoot() · 379b7777
      Timm Bäder authored
      Previously, isRoot() would return true for pointers with a base
      of sizeof(InlineDescriptor), even if the actual metadata size of the
      pointee was 0.
      379b7777
    • Théo Degioanni's avatar
      [MLIR] Add IRDL dialect loading to C API (#91852) · 1337622a
      Théo Degioanni authored
      Being able to add custom dialects is one of the big missing pieces of
      the C API. This change should make it achievable via IRDL. Hopefully
      this should open custom dialect definition to non-C++ users of MLIR.
      1337622a
  2. May 11, 2024