Review Request 127040: Look for -xc++ to determine if a parser session is CPP

Kevin Funk kfunk at kde.org
Thu Feb 11 11:49:05 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127040/#review92254
-----------------------------------------------------------



I think this code is trying to match either `-std=c++98`/`-std=c++0x`/etc.

- Kevin Funk


On Feb. 11, 2016, 11:45 a.m., Pedro Ferreira wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127040/
> -----------------------------------------------------------
> 
> (Updated Feb. 11, 2016, 11:45 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdevelop
> 
> 
> Description
> -------
> 
> Instead of looking for -std=c++ (which according to "man gcc" isn't valid) look for "-xc++"
> I found this while working somewhere else.
> 
> 
> Diffs
> -----
> 
>   languages/clang/clangsettings/clangsettingsmanager.cpp acb7a5c 
> 
> Diff: https://git.reviewboard.kde.org/r/127040/diff/
> 
> 
> Testing
> -------
> 
> No new failures.
> Nothing fixed either.
> 
> 
> Thanks,
> 
> Pedro Ferreira
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160211/0a8fa1e2/attachment-0001.html>


More information about the KDevelop-devel mailing list