I have updated it as "Val", in r206871.
2014-04-22 16:58 GMT+09:00 Dmitri Gribenko <[email protected]>: > On Tue, Apr 22, 2014 at 12:16 AM, Diego Novillo <[email protected]> wrote: >> @@ -646,6 +654,11 @@ public: >> /// \param DiagID A member of the @c diag::kind enum. >> /// \param Loc Represents the source location associated with the >> diagnostic, >> /// which can be an invalid location if no position information is >> available. >> + /// \param FlagNameValue A string that represents the value that triggered >> + /// this diagnostic. If given, this value will be emitted as "=value" >> + /// after the flag name. >> + inline DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID, >> + StringRef Val); >> inline DiagnosticBuilder Report(SourceLocation Loc, unsigned DiagID); >> inline DiagnosticBuilder Report(unsigned DiagID); > > Hi Diego, > > This triggers a warning: > > warning: parameter 'FlagNameValue' not found in the function > declaration [-Wdocumentation] > /// \param FlagNameValue A string that represents the value that triggered > note: did you mean 'Val'? > > 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 <[email protected]>*/ > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
