Skip to content
Commit 25f2afde authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

Revert r194097: "With this patch -Wwrite-strings is still implemented with the terrible

    hack of passing -fconst-strings to -cc1"

Passing or not a language option based on diagnostic settings is a bad idea, it breaks
using a PCH that was compiled with different diagnostic settings.

Also add a test case to make sure we don't regress.

llvm-svn: 200964
parent ced9226b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment