summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-03-29 16:24:20 +0000
committerJustin Lebar <jlebar@google.com>2016-03-29 16:24:20 +0000
commit694cd1fdf8945c9f17980079c598fa22fd373d71 (patch)
tree5d35fa38f9a65f36427807468c9d07dd5a1aa6cb /clang
parent25c4a81e79b08c5781a7d0d551d9a21771b01e7b (diff)
downloadbcm5719-llvm-694cd1fdf8945c9f17980079c598fa22fd373d71.tar.gz
bcm5719-llvm-694cd1fdf8945c9f17980079c598fa22fd373d71.zip
[CUDA] Make CUDA description strings in langopts into noun phrases. NFC
rsmith quoth in D18380: > This should be a noun phrase -- this string appears in contexts like > "support for %0 is enabled" -- so this should be "treating > unattributed [...]". llvm-svn: 264740
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Basic/LangOptions.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/LangOptions.def b/clang/include/clang/Basic/LangOptions.def
index 8373dc292bb..db5d52aae3f 100644
--- a/clang/include/clang/Basic/LangOptions.def
+++ b/clang/include/clang/Basic/LangOptions.def
@@ -170,8 +170,8 @@ LANGOPT(OpenMP , 1, 0, "OpenMP support")
LANGOPT(OpenMPUseTLS , 1, 0, "Use TLS for threadprivates or runtime calls")
LANGOPT(OpenMPIsDevice , 1, 0, "Generate code only for OpenMP target device")
-LANGOPT(CUDAIsDevice , 1, 0, "Compiling for CUDA device")
-LANGOPT(CUDAAllowVariadicFunctions, 1, 0, "Allow variadic functions in CUDA device code")
+LANGOPT(CUDAIsDevice , 1, 0, "compiling for CUDA device")
+LANGOPT(CUDAAllowVariadicFunctions, 1, 0, "allowing variadic functions in CUDA device code")
LANGOPT(AssumeSaneOperatorNew , 1, 1, "implicit __attribute__((malloc)) for C++'s new operators")
LANGOPT(SizedDeallocation , 1, 0, "enable sized deallocation functions")
OpenPOWER on IntegriCloud