[PATCH] Added function to retrieve storage class in libclang.

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Oct 9 19:52:25 PDT 2014


Please also correct style in all places in clang_Cursor_getStorageClass, specifically
- Put a space before the left braces
- "const Decl * D" -> "const Decl *D"  (note no space between star and variable)
- "FunctionDecl const * FD" -> "const FunctionDecl *FD"
- "VarDecl const * VD" -> "const VarDecl *VD"

On Oct 7, 2014, at 4:55 AM, guibufolo+llvm at gmail.com wrote:

> Mady stylistic changes as recommended by Argyrios Kyrtzidis.
> Added comments to C function.
> 
> http://reviews.llvm.org/D5538
> 
> Files:
>  bindings/python/clang/cindex.py
>  include/clang-c/Index.h
>  tools/libclang/CIndex.cpp
>  tools/libclang/libclang.exports
> <D5538.14503.patch>





More information about the cfe-commits mailing list