]> granicus.if.org Git - clang/commit
Fix a typo with -fno-double-square-bracket-attributes and add a test to demonstrate...
authorAaron Ballman <aaron@aaronballman.com>
Sat, 21 Oct 2017 20:28:58 +0000 (20:28 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sat, 21 Oct 2017 20:28:58 +0000 (20:28 +0000)
commit59611f54fa88ba639661d2e0e2e8b607bd48d4a7
tree8ddf5a7587df37cd66ef977ce4b3124e25007a79
parentcaef7029e6dd8cfb6e92aaf2fa88ca154e0255a8
Fix a typo with -fno-double-square-bracket-attributes and add a test to demonstrate that it works as expected in C++11 mode. Additionally corrected the handling of -fdouble-square-bracket-attributes to be properly passed down to the cc1 option.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316275 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/ToolChains/Clang.cpp
test/SemaCXX/attr-cxx-disabled.cpp [new file with mode: 0644]