[all-commits] [llvm/llvm-project] d394f9: Add HLSL Language Option and Preprocessor

Chris B via All-commits all-commits at lists.llvm.org
Mon Mar 28 14:16:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d394f9f8970d758cb39151328dd3040ba7f414ae
      https://github.com/llvm/llvm-project/commit/d394f9f8970d758cb39151328dd3040ba7f414ae
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Driver/Types.def
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Driver/lit.local.cfg
    A clang/test/Preprocessor/predefined-macros-hlsl.c
    M clang/test/lit.cfg.py
    M llvm/lib/Support/Triple.cpp

  Log Message:
  -----------
  Add HLSL Language Option and Preprocessor

Bringing in HLSL as a language as well as language options for each of
the HLSL language standards.

While the HLSL language is unimplemented, this patch adds the
HLSL-specific preprocessor defines which enables testing of the command
line options through the driver.

Reviewed By: pete, rnk

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




More information about the All-commits mailing list