Giter Site home page Giter Site logo

cpp-decomment's Introduction

  • 👋 Hi, I’m @hkuno9000
  • 👀 I’m interested in C++, golang, perl
  • 🌱 I’m currently learning lua,python
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me https://twitter.com/hkuno9000

cpp-decomment's People

Contributors

hkuno9000 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cpp-decomment's Issues

A patch for unix

But disables wildcards, recursive.
In unix wildcards are provided by the shell, recursive can be done via `find 
-type f`

Original issue reported on code.google.com by [email protected] on 20 Oct 2012 at 2:56

Attachments:

support and test the C++11 string literal.

* UTF-8/16/32 encoding format.
{{{
u8"I'm a UTF-8 string."
u"This is a UTF-16 string."
U"This is a UTF-32 string."
}}}

* RAW string literal.
{{{
R"(The String Data \ Stuff " )"
R"delimiter(The String Data \ Stuff " )delimiter"
}}}

Original issue reported on code.google.com by [email protected] on 6 Nov 2013 at 5:28

add: nested block comment option

In C/C++ Standard, the block comment can't nest.
But some old code has nested block comment.

2.7 Comments [lex.comment]
1 The characters /* start a comment, which terminates with the characters */. 
These comments do not nest.
The characters // start a comment, which terminates with the next new-line 
character. If there is a formfeed
or a vertical-tab character in such a comment, only white-space characters 
shall appear between it and
the new-line that terminates the comment; no diagnostic is required. [Note: The 
comment characters //,
/*, and */ have no special meaning within a // comment and are treated just 
like other characters. Similarly,
the comment characters // and /* have no special meaning within a /* comment. ]

Original issue reported on code.google.com by [email protected] on 26 Feb 2014 at 4:44

TODO: remove quoated-string

add option -q: remove quoated string; "abc 123" => "".

文字列定数を空文字列に変換する。
ソースのシンボル探索のフィルタとして使う場合に、文字列定数内のトークンを誤検出しないために役立つ機能である。

Original issue reported on code.google.com by [email protected] on 7 Sep 2009 at 8:38

BUG: don't remove a space after IDNAME of define

input:
#define A  (-1)
#define B  -1
#define C  1
#define D "ABC"
#define E L"ABC"

decomment output:
<<< x.c >>> begin.
#define A(-1)
#define B-1
#define C 1
#define D"ABC"
#define E L"ABC"
<<< x.c >>> end.

case A, B, D are NG

Original issue reported on code.google.com by [email protected] on 6 Nov 2013 at 3:31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.