Filter option names to escape symbols not allowed as C++ identifiers.
authorMikhail Glushenkov <foldr@codedgers.com>
Mon, 12 May 2008 16:33:06 +0000 (16:33 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Mon, 12 May 2008 16:33:06 +0000 (16:33 +0000)
commit5c98d824f681a5d531e619309faefbfa84e230fe
tree8cff2a794bd09524366b0e66aa8583cfff3a029a
parentecb977e64f5dbe40b35184124f9ac4b0faaea114
Filter option names to escape symbols not allowed as C++ identifiers.

Makes it possible to use options with names like "Wa,".
Also fixes the -Wall option handling as a side-effect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50973 91177308-0d34-0410-b5e6-96231b3b80d8
test/LLVMC/wall.c [new file with mode: 0644]
tools/llvmc2/Tools.td
utils/TableGen/LLVMCConfigurationEmitter.cpp