[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 249907] New: kdevelop parser does not understand __restrict or
From:       <susundberg () gmail ! com>
Date:       2010-09-02 13:03:49
Message-ID: bug-249907-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=249907

           Summary: kdevelop parser does not understand __restrict or
                    __restrict__ keywords
           Product: kdevelop
           Version: SVN
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: susundberg@gmail.com


Version:           SVN (using KDE 4.4.3) 
OS:                Linux

Kdevelop parser does not understand the __restrict or __restrict__ keywords
that can be used to give compiler hints. 

This again causes the variables behind restricted pointers to be missing from
kdevelop when for example trying to use auto-competition, like foo->[a list
opens here]

Example:
float* __restrict__ buffer = NULL;

gives:
Problem: "Unexpected token 'float' Source: Parser

GCC-accepts these hints:
http://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html



Reproducible: Always

Steps to Reproduce:
Just write any code using restricted pointers

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic