D17370: Add assistant to generate header guards

Gleb Popov noreply at phabricator.kde.org
Thu Jan 3 20:15:36 GMT 2019


arrowd added a comment.


  It now compiles and unit test passes, however my own quick test revealed following problem.
  
  I created an empty file called `test.h` and typed
  
    int a;
  
  there. Now, trying (2) solution results in
  
    #endif // TEST_H_INCLUDED#ifndef TEST_H_INCLUDED
    #define TEST_H_INCLUDED
    
    int a;
  
  The (1) solution works fine, though.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D17370

To: amhndu, #kdevelop
Cc: arrowd, kdevelop-devel, glebaccon, hase, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190103/26a0b917/attachment-0001.html>


More information about the KDevelop-devel mailing list