1. Jun 26, 2022
    • Casey Carter's avatar
      [libcxx][test] MaybePOCCAAllocator should meet the Cpp17Allocator requirements · c5ba46ea
      Casey Carter authored
      Implement `rebind`, the rebinding constructor, and rebind-compatible comparison operators.
      
      Differential Revision: https://reviews.llvm.org/D118279
      c5ba46ea
    • Guillaume Chatelet's avatar
      [NFC] Remove dead code · 1baf1fc2
      Guillaume Chatelet authored
      1baf1fc2
    • LLVM GN Syncbot's avatar
      [gn build] Port c92056d0 · 303b2146
      LLVM GN Syncbot authored
      303b2146
    • Corentin Jabot's avatar
      [Clang][C++23] P2071 Named universal character escapes · c92056d0
      Corentin Jabot authored
      Implements [[ https://wg21.link/p2071r1  | P2071 Named Universal Character Escapes ]] - as an extension in all language mode, the patch  not warn in c++23 mode will be done later once this paper is plenary approved (in July).
      
      We add
      
       * A code generator that transforms `UnicodeData.txt` and `NameAliases.txt` to a space efficient data structure that can be queried in `O(NameLength)`
       * A set of functions in `Unicode.h` to query that data, including
      
         * A function to find an exact match of a given Unicode character name
         * A function to perform a loose (ignoring case, space, underscore, medial hyphen) matching
         * A function returning the best matching codepoint for a given string per edit distance
      
       * Support of `\N{}` escape sequences in String and character Literals, with loose and typos diagnostics/fixits
       * Support of `\N{}` as UCN with loose matching diagnostics/fixits.
      
      Loose matching is considered an error to match closely the semantics of P2071.
      
      The generated data contributes to 280kB of data to the binaries.
      
      `UnicodeData.txt` and `NameAliases.txt`  are not committed to the repository in this patch, and regenerating the data is a manual process.
      
      Reviewed By: tahonermann
      
      Differential Revision: https://reviews.llvm.org/D123064
      c92056d0
    • Kazu Hirata's avatar
      [mlir] Fix a warning · f8c1c9af
      Kazu Hirata authored
      This patch fixes:
      
        llvm-project/mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp:300:26:
        error: comparison of integers of different signs: 'int64_t' (aka
        'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare]
      f8c1c9af
    • Jacques Pienaar's avatar
      [mlir][shape] Switch types to ODS generated (NFC) · 701051a8
      Jacques Pienaar authored
      These were already pretty simple, so just switching to generated.
      701051a8
  2. Jun 25, 2022