[cfe-commits] [PATCH] Fix name clash (Name clash causing troubles)

Dmitri Gribenko gribozavr at gmail.com
Sat Jun 30 02:31:27 PDT 2012


On Sat, Jun 30, 2012 at 12:55 AM, Enea Zaffanella
<zaffanella at cs.unipr.it> wrote:
> In include/clang/AST/RawCommentList.h we have
>
> class RawComment {
> public:
>   enum CommentKind {
>     CK_Invalid,      ///< Invalid comment
>     [...]
>
> In include/clang/AST/OperationKinds.h the following macro is defined
>
> #define CK_Invalid ((CastKind) -1)

Hi Enea,

Thank you for noticing!

Here is a patch that should fix this.

Please review.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-name-clash.patch
Type: application/octet-stream
Size: 657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120630/7a622a39/attachment.obj>


More information about the cfe-commits mailing list