How to make the clang back-end of company mode in emacs support c++11?
<p>In order to make clang support c++11 standard, I must add <code>-std=c++11</code> arguments. like this,</p>

<p><a href="https://i.stack.imgur.com/OEeCe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OEeCe.png" alt="enter image description here"></a></p>

<p>It works well if I edit a c++ source file. But when I edit a c source file, the clang can not work. I think the reason is the arguments I added.</p>

<p>So how to make the clang back-end support c++11, meanwhile work well for a c source file?</p>