Add an option to parse all comments as documentation comments

Patch by Amin Shali.

llvm-svn: 179180
This commit is contained in:
Dmitri Gribenko
2013-04-10 15:35:17 +00:00
parent 641c9bcfd5
commit a7d16ceee6
11 changed files with 53 additions and 13 deletions

View File

@@ -281,6 +281,7 @@ static bool ParseMigratorArgs(MigratorOptions &Opts, ArgList &Args) {
static void ParseCommentArgs(CommentOptions &Opts, ArgList &Args) {
Opts.BlockCommandNames = Args.getAllArgValues(OPT_fcomment_block_commands);
Opts.ParseAllComments = Args.hasArg(OPT_fparse_all_comments);
}
static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,