PhoenixHPCProxy  0.8.0
Lightweight HPC proxy
Loading...
Searching...
No Matches
HeaderParser.cpp File Reference
#include "HeaderParser.h"
+ Include dependency graph for HeaderParser.cpp:

Go to the source code of this file.

Functions

bool isPtrRef (const PString &str)
 Say if the given string is a pointer or a reference.
 

Function Documentation

◆ isPtrRef()

bool isPtrRef ( const PString & str)

Say if the given string is a pointer or a reference.

Parameters
str: string to be analysed
Returns
true if the given string is a pointer or a reference, false otherwise

Definition at line 215 of file HeaderParser.cpp.

215 {
216 return str.find("&*") || str == "__restrict__";
217}

Referenced by HeaderParser::parseArgument().

+ Here is the caller graph for this function: