[LLVMbugs] [Bug 20624] clang-tidy can take a long time to run for -checks=clang-analyzer-llvm.Conventions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 20 01:33:18 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20624

Alexander Kornienko <alexfh at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llvmbugs at cs.uiuc.edu
          Component|clang-tidy                  |Static Analyzer
           Assignee|unassignedclangbugs at nondot. |kremenek at apple.com
                   |org                         |
            Product|clang-tools-extra           |clang

--- Comment #1 from Alexander Kornienko <alexfh at google.com> ---
Well, if you want to run only clang-analyzer-llvm.Conventions, you should
specify -checks=-*,clang-analyzer-llvm.Conventions. With just one check,
clang-tidy analyzes this file on my machine in ~39s. Just parsing of this file
takes ~3s, so the rest time is spent inside the static analyzer.

Static analyzer folks may want to take a look at why analyzing this file takes
so much time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140820/b72870a6/attachment.html>


More information about the llvm-bugs mailing list