[cfe-dev] A patch for adding getTypeSpecStartLoc() to FieldDecl.

Enea Zaffanella zaffanella at cs.unipr.it
Fri Jul 10 05:16:10 PDT 2009


Please find attached a patch that adds method

   SourceLocation getTypeSpecStartLoc() const;

to class clang::FieldDecl.
We find this method useful for our purposes and, to some extent, it is 
strange that it is missing from FieldDecl when it is available in both 
clang::FunctionDecl and clang::VarDecl.

Enea Zaffanella.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TypeSpecStartLoc-in-FieldDecl.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090710/7bbc6ce4/attachment.ksh>

More information about the cfe-dev mailing list