FailedChanges

Summary

  1. Darwin: Define __STDC_NO_THREADS__ on Darwin targets Darwin doesn't support C11 threads.h. Define `__STDC_NO_THREADS__` so that users can check for it. rdar://problem/18461003
  2. Improve diagnostics for bad -std= flag. Don't list deprecated -std= values (c++0x etc). Only produce one line of output per standard, even if we know it by multiple names. In passing, add missing -std=gnu++03 alias (supported by GCC), and add new spelling '-std=cl1.0' for OpenCL 1.0 for consistency with the other values, with the same meaning as the preexisting '-std=cl'.
Revision 301508 by Duncan P. N. Exon Smith:
Darwin: Define __STDC_NO_THREADS__ on Darwin targets

Darwin doesn't support C11 threads.h.  Define `__STDC_NO_THREADS__` so
that users can check for it.

rdar://problem/18461003
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Basic/Targets.cpp (diff)llvm-revision.src/cfe/trunk/lib/Basic/Targets.cpp
The file was modified/cfe/trunk/test/Preprocessor/init.c (diff)llvm-revision.src/cfe/trunk/test/Preprocessor/init.c
Revision 301507 by rsmith:
Improve diagnostics for bad -std= flag.

Don't list deprecated -std= values (c++0x etc). Only produce one line of output
per standard, even if we know it by multiple names.

In passing, add missing -std=gnu++03 alias (supported by GCC), and add new
spelling '-std=cl1.0' for OpenCL 1.0 for consistency with the other values,
with the same meaning as the preexisting '-std=cl'.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (diff)llvm-revision.src/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
The file was modified/cfe/trunk/include/clang/Frontend/LangStandards.def (diff)llvm-revision.src/cfe/trunk/include/clang/Frontend/LangStandards.def
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cpp (diff)llvm-revision.src/cfe/trunk/lib/Frontend/CompilerInvocation.cpp
The file was modified/cfe/trunk/test/Driver/unknown-std.c (diff)llvm-revision.src/cfe/trunk/test/Driver/unknown-std.c
The file was modified/cfe/trunk/test/Driver/unknown-std.cl (diff)llvm-revision.src/cfe/trunk/test/Driver/unknown-std.cl
The file was modified/cfe/trunk/test/Driver/unknown-std.cpp (diff)llvm-revision.src/cfe/trunk/test/Driver/unknown-std.cpp