[cfe-dev] A patch for adding getTypeSpecStartLoc() to TagDecl.
    Enea Zaffanella 
    zaffanella at cs.unipr.it
       
    Thu Jul 16 06:58:45 PDT 2009
    
    
  
Enea Zaffanella wrote:
> Hello.
> 
> Please find attached a patch that adds method
> 
>   SourceLocation getTypeSpecStartLoc() const;
> 
> to class clang::FieldDecl.
Here is another patch, along the same lines as the one above and serving 
similar purposes, that adds this info to clang::TagDecl (i.e., the base 
class for enum/struct/union/class declarations). In this case the method 
will return the location for the corresponding tag keyword.
Cheers,
Enea Zaffanella.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TypeSpecStartLoc-in-TagDecl.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090716/51346c26/attachment.ksh>
    
    
More information about the cfe-dev
mailing list