diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 15:35:17 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 15:35:17 +0000 |
commit | a7d16ceee604c25b096fa05dfd307aa5fac65b21 (patch) | |
tree | eeaa2904f503b8940078e3c24505301453ebe342 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 641c9bcfd53837e80c942d44e99f57756d54de8e (diff) | |
download | llvm-a7d16ceee604c25b096fa05dfd307aa5fac65b21.zip llvm-a7d16ceee604c25b096fa05dfd307aa5fac65b21.tar.gz llvm-a7d16ceee604c25b096fa05dfd307aa5fac65b21.tar.bz2 |
Add an option to parse all comments as documentation comments
Patch by Amin Shali.
llvm-svn: 179180
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 324b6e3..ed207e6 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -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, |