1. Mar 02, 2024
  2. Mar 01, 2024
    • Joseph Huber's avatar
      [OpenMP] Fix test after updating library search paths (#83573) · b92c3fe0
      Joseph Huber authored
      Summary:
      We still use this bitcode library in one case, the NVPTX non-LTO build.
      The patch updated the search paths to treat it the same as other
      libraries, which unintentionally prioritized system paths over
      LIBRARY_PATH which is generally not correct. Also we had a test that
      relied on system state so remove that.
      b92c3fe0
    • Vinayak Dev's avatar
      [Clang][Sema]: Allow copy constructor side effects (#81127) · 2b4d67bf
      Vinayak Dev authored
      Copy constructors can have initialization with side effects, and thus
      clang should not emit a warning when -Wunused-variable is used in this
      context. Currently however, a warning is emitted.
      
      Now, compilation happens without warnings.
      
      Fixes #79518
      2b4d67bf
    • Mats Petersson's avatar
      [Flang] Add support for assume_aligned directive (#81747) · 601a9587
      Mats Petersson authored
      This adds the parsing (and unparse) of the compiler drective assume_aligned.
      
      The compiler will issue a warning that the directive is ignored.
      601a9587
    • Erich Keane's avatar
      Fix implementation of [temp.param]p14's first sentence. (#83487) · 06bd74ba
      Erich Keane authored
      The first sentence says:
      
      If a template-parameter of a class template, variable template, or alias
      template has a default template-argument, each subsequent
      template-parameter shall either have a default template-argument
      supplied or be a template parameter pack.
      
      However, we were only testing for "not a function function template",
      and referring to an older version of the standard. As far as I can tell,
      CWG2032 added the variable-template, and the alias-template pre-dates
      the standard on github.
      
      This patch started as a bug fix for #83461 , but ended up fixing a
      number of similar cases, so those are validated as well.
      06bd74ba
    • Timm Bäder's avatar
      [clang][Interp] Fix virtual calls with reference instance pointers · a038f975
      Timm Bäder authored
      getCXXRecordType() on those types does not return the type we need.
      Use getPointeeCXXRecordType() instead in those cases.
      a038f975
    • Erich Keane's avatar
      [OpenACC] Implement Duffs-Device restriction for Compute Constructs (#83460) · b0181be3
      Erich Keane authored
      Like the last few patches, branching in/out of a compute construct is
      not valid. This patch implements checking to ensure that a 'case' or
      'default' statement cannot jump into a Compute Construct (in the style
      of a duff's device!).
      b0181be3