[cfe-dev] clang-format WebKit style breaks C++11 raw string literals
İsmail Dönmez
ismail at donmez.ws
Wed Dec 17 04:30:24 PST 2014
[~]> cat r.cpp
static const char* progressCSS = R"(QProgressBar::chunk{
background-color: #3add36;
width: 1px;
}
QProgressBar{
border: 2px solid grey;
border-radius: 0px;
font: bold;
text-align: center;
})";
[~]> clang-format -style=WebKit r.cpp
static const char* progressCSS = R "(QProgressBar::chunk{
background - color : #3add36;
width:
1px;
}
QProgressBar
{
border:
2px solid grey;
border - radius : 0px;
font:
bold;
text - align : center;
})";
Seems to confuse cpp with css.
More information about the cfe-dev
mailing list