History log of /llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (Results 126 – 150 of 255)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0dbb783c 27-May-2014 Craig Topper <craig.topper@gmail.com>

[C++11] Use 'nullptr'. StaticAnalyzer edition.

llvm-svn: 209642


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2
# fe659987 23-Apr-2014 Alexander Kornienko <alexfh@google.com>

Don't pass llvm::DenseSet<> by value.

Summary: Fixes massive performance problems on large translation units.

Reviewers: jordan_rose

Reviewed By: jordan_rose

Subscribers: cfe-commits

Differentia

Don't pass llvm::DenseSet<> by value.

Summary: Fixes massive performance problems on large translation units.

Reviewers: jordan_rose

Reviewed By: jordan_rose

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D3471

llvm-svn: 206999

show more ...


# 10346667 22-Apr-2014 Chandler Carruth <chandlerc@gmail.com>

[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, clang edition.

If you want more details about this, you can see some of the commit

[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, clang edition.

If you want more details about this, you can see some of the commits to
Debug.h in LLVM recently. This is just the clang section of a cleanup
I've done for all uses of DEBUG_TYPE in LLVM.

llvm-svn: 206849

show more ...


Revision tags: llvmorg-3.4.1-rc1
# fb6b25b5 15-Mar-2014 Craig Topper <craig.topper@gmail.com>

[C++11] Add 'override' keyword to virtual methods that override their base class.

llvm-svn: 203999


# dfca6f97 09-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

[C++11] Replace OwningPtr include with <memory>.

llvm-svn: 203389


# b8984329 07-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

Replace OwningPtr with std::unique_ptr.

This compiles cleanly with lldb/lld/clang-tools-extra/llvm.

llvm-svn: 203279


# 9a16beb8 07-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

Change OwningPtr::take() to OwningPtr::release().

This is a precursor to moving to std::unique_ptr.

llvm-svn: 203275


# a74979d6 06-Mar-2014 Alexander Kornienko <alexfh@google.com>

Added an inserter for ArrayRef<SourceRange>.

Summary:
Added an inserter for ArrayRef<SourceRange>, as it is already needed in at least
two places (static analyzer and clang-tidy).

Reviewers: jordan

Added an inserter for ArrayRef<SourceRange>.

Summary:
Added an inserter for ArrayRef<SourceRange>, as it is already needed in at least
two places (static analyzer and clang-tidy).

Reviewers: jordan_rose

CC: cfe-commits, gribozavr

Differential Revision: http://llvm-reviews.chandlerc.com/D2984

llvm-svn: 203117

show more ...


# a798a9db 02-Mar-2014 Craig Topper <craig.topper@gmail.com>

Switch all uses of LLVM_OVERRIDE to just use 'override' directly.

llvm-svn: 202625


# 7a712cea 03-Feb-2014 Alexander Kornienko <alexfh@google.com>

Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.

Summary:
Make objects returned by CreateAnalysisConsumer expose an interface,
that allows providing a custom PathDi

Allow specifying a custom PathDiagnosticConsumer for use with the static analyzer.

Summary:
Make objects returned by CreateAnalysisConsumer expose an interface,
that allows providing a custom PathDiagnosticConsumer, so that users can have
raw data in a form easily usable from the code (unlike plist/HTML in a file).

Reviewers: jordan_rose, krememek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2556

llvm-svn: 200710

show more ...


# 5553d0d4 07-Jan-2014 Chandler Carruth <chandlerc@gmail.com>

Sort all the #include lines with LLVM's utils/sort_includes.py which
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up

Sort all the #include lines with LLVM's utils/sort_includes.py which
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up Clang as well.

llvm-svn: 198686

show more ...


# 6de39492 03-Jan-2014 Alexander Kornienko <alexfh@google.com>

Make clang::ento::CreateAnalysisConsumer a part of a public interface of the static analyzer.

Summary:
This allows for a better alternative to the FrontendAction hack used in
clang-tidy in order to

Make clang::ento::CreateAnalysisConsumer a part of a public interface of the static analyzer.

Summary:
This allows for a better alternative to the FrontendAction hack used in
clang-tidy in order to get static analyzer's ASTConsumer.

Reviewers: jordan_rose, krememek

Reviewed By: jordan_rose

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2505

llvm-svn: 198426

show more ...


Revision tags: llvmorg-3.4.0
# 5c494cbe 23-Dec-2013 Alp Toker <alp@nuanti.com>

Fix another misuse of getCustomDiagID()

There's no need to escape strings and generate new DiagIDs for each message.

llvm-svn: 197915


# 78f80710 20-Dec-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[analyzer] Use DataRecursiveASTVisitor for the AnalysisConsumer.

llvm-svn: 197767


Revision tags: llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 5ba37d52 22-Aug-2013 Eli Friedman <eli.friedman@gmail.com>

Split isFromMainFile into two functions.

Basically, isInMainFile considers line markers, and isWrittenInMainFile
doesn't. Distinguishing between the two is useful when dealing with
files which are

Split isFromMainFile into two functions.

Basically, isInMainFile considers line markers, and isWrittenInMainFile
doesn't. Distinguishing between the two is useful when dealing with
files which are preprocessed files or rewritten with -frewrite-includes
(so we don't, for example, print useless warnings).

llvm-svn: 188968

show more ...


# 367843a0 16-Aug-2013 Jordan Rose <jordan_rose@apple.com>

[analyzer] Merge TextPathDiagnostics and ClangDiagPathDiagConsumer.

This once again restores notes to following their associated warnings
in -analyzer-output=text mode. (This is still only intended

[analyzer] Merge TextPathDiagnostics and ClangDiagPathDiagConsumer.

This once again restores notes to following their associated warnings
in -analyzer-output=text mode. (This is still only intended for use as a
debugging aid.)

One twist is that the warning locations in "regular" analysis output modes
(plist, multi-file-plist, html, and plist-html) are reported at a different
location on the command line than in the output file, since the command
line has no path context. This commit makes -analyzer-output=text behave
like a normal output format, which means that the *command line output
will be different* in -analyzer-text mode. Again, since -analyzer-text is
a debugging aid and lo-fi stand-in for a regular output mode, this change
makes sense.

Along the way, remove a few pieces of stale code related to the path
diagnostic consumers.

llvm-svn: 188514

show more ...


Revision tags: llvmorg-3.3.1-rc1
# a36e78ef 05-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com>

Use llvm::sys::fs::createTemporaryFile.

llvm-svn: 185717


# 32e3e7ce 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

We only create one file, no need to delete a directory.

llvm-svn: 184949


# a9b6429e 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Remove unused include.

llvm-svn: 184922


# 4168ee73 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Remove more uses of llvm::sys::Path.

llvm-svn: 184921


# cb4bb190 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Use the sys::ExecuteAndWait that takes StringRefs.

Also don't depend on Program.h including PathV1.h.

llvm-svn: 183935


# 0725a7d9 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Update for llvm change.

llvm-svn: 183930


# a3346d87 12-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Use the global functions instead of the Program methods.

llvm-svn: 183861


Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1
# b13d21b6 26-Mar-2013 Anna Zaks <ganna@apple.com>

[analyzer] Change inlining policy to inline small functions when reanalyzing ObjC methods as top level.

This allows us to better reason about(inline) small wrapper functions.

llvm-svn: 178063


# 297176c3 07-Feb-2013 Anna Zaks <ganna@apple.com>

[analyzer] Fix typo.

llvm-svn: 174679


1234567891011