Ignore:
Timestamp:
Nov 28, 2017, 6:45:00 AM (19 months ago)
Author:
cameron
Message:

LLVM_ALIGNAS placement, eliminate std::move of temp objects to allow copy elision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/UCD-scripts/UCD_properties.py

    r5749 r5751  
    5353
    5454        const unsigned buffer_length = ${buffer_length};
    55         const static char string_buffer[${allocation_length}] LLVM_ALIGNAS(32) = u8R"__(${string_buffer})__";
     55        const static char string_buffer LLVM_ALIGNAS(32) [${allocation_length}] = u8R"__(${string_buffer})__";
    5656
    5757        const static std::vector<codepoint_t> defined_cps{
     
    9191
    9292        const unsigned buffer_length = ${buffer_length};
    93         const static char string_buffer[${allocation_length}] LLVM_ALIGNAS(32) = u8R"__(${string_buffer})__";
     93        const static char string_buffer LLVM_ALIGNAS(32) [${allocation_length}] = u8R"__(${string_buffer})__";
    9494
    9595        const static std::vector<codepoint_t> defined_cps{
     
    128128
    129129        const unsigned buffer_length = ${buffer_length};
    130         const static char string_buffer[${allocation_length}] LLVM_ALIGNAS(32) = u8R"__(${string_buffer})__";
     130        const static char string_buffer LLVM_ALIGNAS(32) [${allocation_length}] = u8R"__(${string_buffer})__";
    131131
    132132        const static std::vector<codepoint_t> defined_cps = {
Note: See TracChangeset for help on using the changeset viewer.