[llvm] 487fcc8 - Fix `-Wpedantic` warning. NFC.

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 10:39:27 PDT 2020


Might be more helpful to describe the specific change in the commit message
"remove spurious semicolon" seems more self-descriptive of this patch
(perhaps with "(found by -Wpedantic)" too. (at least for me it'd save me
having looked at this patch to see what specific -Wpedantic warning was
being fixed and how it was being fixed)

On Sun, Feb 16, 2020 at 9:18 PM Michael Liao via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> Author: Michael Liao
> Date: 2020-02-17T00:18:01-05:00
> New Revision: 487fcc8d3de43aabfaeb981eaebeb106398117c4
>
> URL:
> https://github.com/llvm/llvm-project/commit/487fcc8d3de43aabfaeb981eaebeb106398117c4
> DIFF:
> https://github.com/llvm/llvm-project/commit/487fcc8d3de43aabfaeb981eaebeb106398117c4.diff
>
> LOG: Fix `-Wpedantic` warning. NFC.
>
> Added:
>
>
> Modified:
>     llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
>
> Removed:
>
>
>
>
> ################################################################################
> diff  --git a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
> b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
> index 8b6097d3a408..dad841731505 100644
> --- a/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
> +++ b/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
> @@ -190,7 +190,7 @@ static LegalityPredicate greaterThan(unsigned
> TypeIdx0, unsigned TypeIdx1) {
>      return Query.Types[TypeIdx0].getSizeInBits() >
>             Query.Types[TypeIdx1].getSizeInBits();
>    };
> -};
> +}
>
>  AMDGPULegalizerInfo::AMDGPULegalizerInfo(const GCNSubtarget &ST_,
>                                           const GCNTargetMachine &TM)
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/e7ef3ac0/attachment.html>


More information about the llvm-commits mailing list