[C++11, C++14 PATCH 1/4] Support for SD-6: SG10 Feature Test Recommendations: libcpp

2014-06-09 Thread Ed Smith-Rowland
This is the second round of the SD-6 support series. I believe I have answered everyones concerns. Built and tested on x86_64-linux. OK? 2014-06-09 Ed Smith-Rowland 3dw...@verizon.net Implement SD-6: SG10 Feature Test Recommendations * directives.c: Support __has_include__

Re: [C++11, C++14 PATCH 1/4] Support for SD-6: SG10 Feature Test Recommendations: libcpp

2014-06-09 Thread Jason Merrill
On 06/09/2014 10:20 AM, Ed Smith-Rowland wrote: + if (token-type == CPP_OPEN_PAREN) +{ + paren = true; + token = cpp_get_token (pfile); +} + if (token-type == CPP_STRING || token-type == CPP_HEADER_NAME) Let's add a blank line between the ifs since it's not an else if. OK