[PATCH] D32982: CodeGenModule: Always output wchar_size; check LLVM assumptions.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 15:54:39 PDT 2017


efriedma added a comment.

This makes sense to me, but I'll wait to see if anyone else has a comment.



================
Comment at: test/CodeGen/wchar-size.c:2
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s -check-prefix=LONG-WCHAR
+// RUN: %clang_cc1 -triple x86_64-unknown-windows-msvc -emit-llvm -o - %s | FileCheck %s -check-prefix=SHORT-WCHAR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - -fshort-wchar %s | FileCheck %s -check-prefix=SHORT-WCHAR
----------------
Maybe add a comment to the test noting that -fno-short-wchar has no effect on Windows.


Repository:
  rL LLVM

https://reviews.llvm.org/D32982





More information about the llvm-commits mailing list