You mean as a member of IASTPreprocessorFunctionStyleMacroDefinition. Note that I cut and paste it because it’s
too long! ;)
My point is that it’s not a
signature. Signatures give the types of the parameters of functions to resolve
overloading. This is just the text of the source at the file location. How
about getText()? Much less typing J.
Just my belated two cents, again…
Cheers,
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of John Camelon
Sent: Thursday, July 06, 2006 4:52
PM
To: CDT
General developers list.
Subject: RE: [cdt-dev] A question
about IASTLiteralExpression
I was going to call it getPrePreProcessedSignature()
but i know that you hate typing.
--
JohnC
Doug Schaefer
<DSchaefer@xxxxxxx>
Sent
by: cdt-dev-bounces@xxxxxxxxxxx
07/06/2006 03:43 PM
Please
respond to
"CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
|
|
To
|
"CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
|
RE: [cdt-dev] A question about
IASTLiteralExpression
|
|
Did I ever tell you I hated that name,
getRawSignature, oh yeah, I did J.
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC member
http://cdtdoug.blogspot.com
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent: Thursday, July 06, 2006 3:42 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] A question about IASTLiteralExpression
You can try IASTNode.getRawSignature()
-Andrew
"Yuan Zhang"
<yuan.capsl@xxxxxxxxx>
Sent by: cdt-dev-bounces@xxxxxxxxxxx
07/06/2006 03:02 PM
Please
respond to
"CDT General developers list."
<cdt-dev@xxxxxxxxxxx>
|
|
To
|
cdt-dev@xxxxxxxxxxx
|
cc
|
|
Subject
|
[cdt-dev] A question about
IASTLiteralExpression
|
|
Hi,
I am using CDT to implement a static analysis tool. I have a question about the
class IASTLiteralExpression. For example, if I have a MPI function call
MPI_Barrier(MPI_COMM_WORLD), the parameter MPI_COMM_WORLD is a pre-defined
constant, and finally it is a IASTLiteralExpression. However, the
"value" of this parameter is an address 0x(something), not the string
MPI_COMM_WORLD as I expected. Does anybody know how to get the original string?
Thank you very much.
Yuan_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev