Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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


Back to the top