r326324 - [analyzer] Fix a compiler warning

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 5 09:44:25 PST 2018


Might be useful in the future to use a more specific commit message such as
"add missing override" (or "add missing override to address
-Wmissing-override warning"), etc.

On Wed, Feb 28, 2018 at 6:03 AM Gabor Horvath via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: xazax
> Date: Wed Feb 28 06:01:48 2018
> New Revision: 326324
>
> URL: http://llvm.org/viewvc/llvm-project?rev=326324&view=rev
> Log:
> [analyzer] Fix a compiler warning
>
> Modified:
>     cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
>
> Modified:
> cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h?rev=326324&r1=326323&r2=326324&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
> (original)
> +++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
> Wed Feb 28 06:01:48 2018
> @@ -155,7 +155,8 @@ public:
>
>    BugReporter& getBugReporter() { return BR; }
>
> -  cross_tu::CrossTranslationUnitContext *getCrossTranslationUnitContext()
> {
> +  cross_tu::CrossTranslationUnitContext *
> +  getCrossTranslationUnitContext() override {
>      return &CTU;
>    }
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180305/fdc11280/attachment.html>


More information about the cfe-commits mailing list