[llvm-commits] [llvm] r165757 - /llvm/trunk/utils/TableGen/TGValueTypes.cpp

Sean Silva silvas at purdue.edu
Thu Oct 11 15:31:59 PDT 2012


What is the flag that tells clang to warn about this? I need to add
that to my local build... sorry for the noise.

-- Sean Silva

On Thu, Oct 11, 2012 at 6:25 PM, Chad Rosier <mcrosier at apple.com> wrote:
> Author: mcrosier
> Date: Thu Oct 11 17:25:56 2012
> New Revision: 165757
>
> URL: http://llvm.org/viewvc/llvm-project?rev=165757&view=rev
> Log:
> Remove extra semicolons.
>
> Modified:
>     llvm/trunk/utils/TableGen/TGValueTypes.cpp
>
> Modified: llvm/trunk/utils/TableGen/TGValueTypes.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/TGValueTypes.cpp?rev=165757&r1=165756&r2=165757&view=diff
> ==============================================================================
> --- llvm/trunk/utils/TableGen/TGValueTypes.cpp (original)
> +++ llvm/trunk/utils/TableGen/TGValueTypes.cpp Thu Oct 11 17:25:56 2012
> @@ -47,7 +47,7 @@
>      : Type(TK_ExtendedIntegerType), BitWidth(bits) {}
>    static bool classof(const Type *T) {
>      return T->getKind() == TK_ExtendedIntegerType;
> -  };
> +  }
>    unsigned getSizeInBits() const {
>      return getBitWidth();
>    }
> @@ -64,7 +64,7 @@
>      : Type(TK_ExtendedVectorType), ElementType(elty), NumElements(num) {}
>    static bool classof(const Type *T) {
>      return T->getKind() == TK_ExtendedVectorType;
> -  };
> +  }
>    unsigned getSizeInBits() const {
>      return getNumElements() * getElementType().getSizeInBits();
>    }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list