[all-commits] [llvm/llvm-project] 624bce: [OpenCL] Make Clang recognize -cl-std=1.0 as a val...

Elvina Yakubova via All-commits all-commits at lists.llvm.org
Wed Nov 11 06:04:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 624bced7eec09a6a70f6e04faeddd0adc1553799
      https://github.com/llvm/llvm-project/commit/624bced7eec09a6a70f6e04faeddd0adc1553799
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Driver/autocomplete.c
    M clang/test/Driver/opencl.cl
    M clang/test/Frontend/stdlang.c
    M clang/test/Preprocessor/predefined-macros.c

  Log Message:
  -----------
  [OpenCL] Make Clang recognize -cl-std=1.0 as a value argument

This patch makes Clang recognize -cl-std=1.0 as a value argument,
before only -std=cl1.0 has to be used instead.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47981

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D91237




More information about the All-commits mailing list