lkml.org 
[lkml]   [2019]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] perf clang: fix semicolon code style issue
Em Mon, Mar 04, 2019 at 10:36:14PM +0800, Yang Wei escreveu:
> From: Yang Wei <yang.wei9@zte.com.cn>
>
> Delete a superfluous semicolon in getBPFObjectFromModule().
>
> Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
> ---
> tools/perf/util/c++/clang.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/c++/clang.cpp b/tools/perf/util/c++/clang.cpp
> index 39c0004..fc361c3 100644
> --- a/tools/perf/util/c++/clang.cpp
> +++ b/tools/perf/util/c++/clang.cpp
> @@ -156,7 +156,7 @@ getBPFObjectFromModule(llvm::Module *Module)
> #endif
> if (NotAdded) {
> llvm::errs() << "TargetMachine can't emit a file of this type\n";
> - return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);;
> + return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);
> }
> PM.run(*Module);

Thanks, applied.

- Arnaldo

\
 
 \ /
  Last update: 2019-03-06 13:51    [W:0.042 / U:1.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site