Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swiftwasm/swift-clang

This repository is no longer in use, please refer to the LLVM monorepo https://github.com/swiftwasm/llvm-project
https://github.com/swiftwasm/swift-clang

Revert "[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker"

This reverts commit a786521fa66c72edd308baff0c08961b6d964fb1.

Bots haven't caught up yet, but b...

fb10784d43f421f370f3b2c04c9a7232f20bb521 authored about 6 years ago by Bruno Cardoso Lopes <[email protected]>
[analyzer] InnerPointerChecker: fix displayed checker name.

For InnerPointerChecker to function properly, both the checker itself
and parts of MallocChecker...

0db3050e689b5d895ccb7c9a2773551bfb568964 authored about 6 years ago by Reka Kovacs <[email protected]>
[analyzer] [NFC] Fix minor formatting issues in RetainCountChecker

Differential Revision: https://reviews.llvm.org/D51072

git-svn-id: https://llvm.org/svn/llvm-pr...

01152170d1c90c905b358f683fb434bd95d325d8 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Fix the bug in UninitializedObjectChecker caused by not handling block pointers

Differential Revision: https://reviews.llvm.org/D50523

git-svn-id: https://llvm.org/svn/llvm-pr...

6c32a36c2fdee1461d5dcf57b3984b6116e3213d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Fix tracking expressions through negation operator

Differential Revision: https://reviews.llvm.org/D50537

git-svn-id: https://llvm.org/svn/llvm-pr...

720928c55631893a2311cebb7201b1dc32fa8938 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Preliminary version of retain count checking for OSObjects

Has quite a lot of false positives, disabled behind the flag.

Differential Revision: https://re...

6df41466e3698666471a2fd988e39e88f20a3a79 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor.

The CoreEngine only gives us a ReturnStmt if the last element in the
CFGBlock is a CFGStmt, othe...

70de4509442bccd9d3a308ef6da617646ef97783 authored about 6 years ago by Reka Kovacs <[email protected]>
[analyzer] [NFC] Minor refactoring of BugReporterVisitors

Differential Revision: https://reviews.llvm.org/D51130

git-svn-id: https://llvm.org/svn/llvm-pr...

6c19c30580aacf8a07b0d81af53bb9a267eb0ee2 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Introduce separate targets for testing the analyzer: check-clang-analyzer and check-clang-analyzer-z3

Current testing setup for analyzer tests with Z3 is rather inconvenient:

There's no way to run ...

6f9731171a29a1f554ed46889d7088dceeaf4290 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] InnerPointerChecker: improve warning messages and notes.

Differential Revision: https://reviews.llvm.org/D49570

git-svn-id: https://llvm.org/svn/llvm-pr...

7299ffbee70ff1216e33a3aed7f9a82a2ff20323 authored about 6 years ago by Reka Kovacs <[email protected]>
[analyzer] Extend NoStoreFuncVisitor to follow fields.

rdar://39701823

Differential Revision: https://reviews.llvm.org/D49901

git-svn-id: https://llv...

3e1dc3f29cecf5a0f2cc009b837ddf2db9a1838e authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] added cache for SMT queries in the SMTConstraintManager

Summary:
This patch implements a new cache for the result of SMT queries; with this patch the re...

31f81500b9b1bca4cac70605d54fd8b105ca44b3 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>
[analyzer] Fix UninitializedObjectChecker to not crash on uninitialized "id" fields

Differential Revision: https://reviews.llvm.org/D50673

git-svn-id: https://llvm.org/svn/llvm-pr...

1525c64b1b581cc33c782c038e1470018bac3c54 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] New flag to turn off dereferencing

Even for a checker being in alpha, some reports about pointees held so little
value to the user ...

206a55573e8cadba2f92e6ae500c1b29f00c9496 authored about 6 years ago by Kristof Umann <[email protected]>
Revert "[CStringSyntaxChecker] Check strlcat sizeof check"

This reverts commit 3073790e87378fea9a68fb052185fec9596ef135.

The check is not correct, strlact...

1e531ada550f452a5e2852cb6bc587b6a510c899 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Delete SMTContext. NFC.

Summary: There is no reason to have a base class for a context anymore as each SMT object carrie...

d15e5e2e42972f1aff1dcb08f2c40a5f0bf15acf authored about 6 years ago by Mikhail R. Gadelha <[email protected]>
[CFG] [analyzer] Find argument constructors in CXXTemporaryObjectExprs.

CXXTemporaryObjectExpr is a sub-class of CXXConstructExpr. If it has arguments
that are structur...

d20f4fb22abe0a890d4e2087dcd819daf419c765 authored about 6 years ago by Artem Dergachev <[email protected]>
Move test inputs into Inputs directory.

We don't need a new ExpectedOutputs/ convention. Expected outputs are
just another form of test ...

d4a366606eb6ad8388075f7cd31b61a9d8ced173 authored about 6 years ago by Richard Smith <[email protected]>
[analyzer] Track the problematic subexpression in UndefResultChecker

This is tested in a subsequent commit, which allows tracking those values.

Differential Revisio...

d51b8526e60a264e583e3a3458b36f69ea452d21 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p5.: Handle pedantic mode in the checker class only

Differential Revision: https://reviews.llvm.org/D50508

git-svn-id: https://llvm.org/svn/llvm-p...

7b9f405cc902d3a1f28ceb56d8a162839caf78e6 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] [NFC] Split up RetainCountChecker

At some point, staring at 4k+ LOC file becomes a bit hard.

Differential Revision: https://revie...

7ebf6e0d3b84c2ac797759dc293f60edf438cd3b authored about 6 years ago by George Karpenkov <[email protected]>
Revert "[CStringSyntaxChecker] Reduces space around error message for strlcat."

This reverts commit 6b43b80320722da41ca6ef7a3b57cc300fb83094.

git-svn-id: https://llvm.org/svn/...

eb67603ce657bd285c9f80a987379ed09e0ab394 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Record nullability implications on getting items from NSDictionary

If we get an item from a dictionary, we know that the item is non-null
if and only if the key is...

e713e3dcafa1e736f9e1fbc5e0d45195465d0eb6 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Split up summary generation in RetainCountChecker in two methods

Differential Revision: https://reviews.llvm.org/D50830

git-svn-id: https://llvm.org/svn/llvm-pr...

f0e410ea7a25e4e9610a7889fee2b853a4707a73 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Improve `CallDescription` to handle c++ method.

Summary:
`CallDecription` can only handle function for the time being. If we want to match c++ m...

ed41177d41edcd0c075213904164fe81b8c858ae authored about 6 years ago by Henry Wong <[email protected]>
[analyzer] NFC: Document that we support implicit argument constructors.

The change in the AST in r338135 caused us to accidentally support
inlining constructors of oper...

c2e67bd19c88549b61fccac4d2b9d17bb40eb7c6 authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer][UninitializedObjectChecker] Void pointers are casted back to their dynamic type in note message

Differential Revision: https://reviews.llvm.org/D49228

git-svn-id: https://llvm.org/svn/llvm-p...

b8323e993a6c9e9c41a94897ea8764c89c4fcaff authored about 6 years ago by Kristof Umann <[email protected]>
Invalidate static locals when escaping lambdas

Lambdas can affect static locals even without an explicit capture.

rdar://39537031

Differentia...

c167bbf3a86796f0f3a75abdb4ab613be708f2cd authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Explicit namespace resolution for inherited data members

For the following example:

struct Base {
int x;
};

// In a different translation uni...

be79e94147724cd0e098e7e4f21ec4b2515b671e authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Make RegionVector use const reference

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338732 91177308-0d34-0410-b5e6-96231b3b80d8

ae5cccb22e8f4ebe9d78abd6abf083c5ecd590d8 authored about 6 years ago by Fangrui Song <[email protected]>
[CStringSyntaxChecker] Reduces space around error message for strlcat.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339808 91177308-0d34-0410-b5e6-96231b3b...

b40ecb4a6a8635393c7339d566221b16eddae863 authored about 6 years ago by David Carlier <[email protected]>
[analyzer][UninitializedObjectChecker] Pointer/reference objects are dereferenced according to dynamic type

This patch fixed an issue where the dynamic type of pointer/reference
object was known by the an...

af9f8b29a7d6d2d428ccb83ccc09b039b18411e8 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Fix keyboard navigation for .msgNote events

Does not go to msgNote's.

Differential Revision: https://reviews.llvm.org/D50595

git-svn-id: h...

522556ac96e7235eedb922b9fbd1804fc947f598 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Made a buildbot happy.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339655 91177308-0d34-0410-b5e6-96231b3b...

4a358ddb64ca07c6f8566870887596dbd94a2559 authored about 6 years ago by Kristof Umann <[email protected]>
[Analyzer] Iterator Checker - Part 3: Invalidation check, first for (copy) assignments

We add check for invalidation of iterators. The only operation we handle here
is the (copy) assi...

4daf8224210f2dced8c54868bea74640c0b0f754 authored about 6 years ago by Adam Balogh <[email protected]>
[NFC] Don't define static function in header (UninitializedObject.h)

Summary:
See also http://lists.llvm.org/pipermail/cfe-users/2016-January/000854.html for
the rea...

51b2bd2aede1427ee54cd37653cdacfaddf32423 authored about 6 years ago by Andrei Elovikov <[email protected]>
[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker

ARCMigrator is using code from RetainCountChecker, which is a layering
violation (and it also do...

480b7728c83df79a6b8284f635090575245c2b8d authored about 6 years ago by George Karpenkov <[email protected]>
Fix Clang warnings and bad #include filenames in r339595 and r339599.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339624 91177308-0d34-0410-b5e6-96231b3b80d8

509ed43bff717c65a2b5dc3ab6eedd1b583d5a42 authored about 6 years ago by Richard Smith <[email protected]>
[analyzer] Re-instate support for MakeCollectable is RetainCountChecker

Differential Revision: https://reviews.llvm.org/D50872

git-svn-id: https://llvm.org/svn/llvm-pr...

4e27287dec7f787b6503ebb48835861a3c06ee8d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Templatefy SMTConstraintManager so more generic code can be moved from solver specific implementations. NFC.

Summary:
By making SMTConstraintManager a template and passing the SMT constraint type and expr,...

517e486d644973b7bd4709bd5e7cc20aad6030d3 authored about 6 years ago by Mikhail R. Gadelha <[email protected]>
[analyzer] Fix tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338756 91177308-0d34-0410-b5e6-96231b3b80d8

98fd8583a7f942c44c1d71a25782beea1cd2f753 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p6.: Move dereferencing to a function

Now that it has it's own file, it makes little sense for
isPointerOrReferenceUninit to be this l...

a11685bcd05a521ed96615e431ebaa0c3080fb07 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p4.: Wrap FieldRegions and reduce weight on FieldChainInfo

Before this patch, FieldChainInfo used a spaghetti: it took care of way too many cases,
even tho...

961a5625d2dacff374b14db9a9b877156effea18 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p2.: Moving pointer chasing to a separate file

In this patch, the following classes and functions have been moved to a header file:

FieldC...

9bfd964dae3af4e836f06535c8ec78486a08aa95 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Correctly marked a virtual function 'override'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340280 91177308-0d34-0410-b5e6-96231b3b...

086bdf0274c4211377f617215ce1c4e9871100d9 authored about 6 years ago by Kristof Umann <[email protected]>
Change dyn_cast<CXXMethodDecl>(FD) to isa<CXXMethodDecl>(FD) [NFC]

The result of the dyn_cast wasn't used to we can just check isa.

git-svn-id: https://llvm.org/s...

87cf28805a51b5874bfda6b27323e359bf161869 authored about 6 years ago by Mikael Holmen <[email protected]>
Removed unused variable [NFC]

The compiler warned:
../tools/clang/lib/StaticAnalyzer/Core/RetainSummaryManager.cpp:329:19: err...

87357b84454213368fe539ca6f07ba51a2dd189f authored about 6 years ago by Mikael Holmen <[email protected]>
[NFC] Test commit

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340452 91177308-0d34-0410-b5e6-96231b3b80d8

88c438b3e60f20407e3414b7afc6c6f65c0c69eb authored about 6 years ago by Aaron Puchert <[email protected]>
[analyzer][UninitializedObjectChecker] Added documentation to the checker list

Differential Revision: https://reviews.llvm.org/D50904

git-svn-id: https://llvm.org/svn/llvm-p...

907cd4d23f6016ee41ff2df7bb7e874b813989c9 authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Detect pointers escaped after ReturnStmt execution in MallocChecker.

Objects local to a function are destroyed right after the statement returning
(part of) them is ...

8981a248ad27c83719c05604d07a175efec7d1dd authored about 6 years ago by Reka Kovacs <[email protected]>
[analyzer] [NFC] Move canEval function from RetainCountChecker to RetainCountSummaries

Differential Revision: https://reviews.llvm.org/D50863

git-svn-id: https://llvm.org/svn/llvm-pr...

e35d376b40043c4577b214863b54fbfb145cc83b authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Add test for a crash fixed in r338775.

Do not crash if a CXXRecordDecl cannot be obtained for an object.

Special thanks for the reprod...

e43bc4a35074448ddf13e80740baee5506ee334f authored about 6 years ago by Reka Kovacs <[email protected]>
[analyzer] Track non-zero values in ReturnVisitor

Tracking those can help to provide much better diagnostics in many cases.

In general, most of t...

e0af5790d64d70410643891f5c980ca9b78f0ed2 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Do not crash in NoStoreFuncVisitor notes if an unexpected region is found.

Just do not generate the note at all in that case.

git-svn-id: https://llvm.org/svn/llvm-projec...

dd84557a198a607bc1e5da3c01e2416fd3a2f28d authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] [tests] Move plist-based diagnostics tests to separate files, use diff instead of a FileCheck - II

Some files were missed by https://reviews.llvm.org/D50545

Differential Revision: https://review...

5e6b6a4fc1aa9139db578ffcd5ab68b7d8d052b2 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p1.: ImmutableList factory is no longer static

This patch is the first part of a series of patches to refactor UninitializedObjectChecker. The ...

62ad8fe8e4839b94d2d8e4fd6e4aee4a36c1bb6e authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Add support for constructors of arguments.

Once CFG-side support for argument construction contexts landed in r338436,
the analyzer could m...

584cd8c823a9c07bf77d44520d34945242c7711b authored about 6 years ago by Artem Dergachev <[email protected]>
[analyzer] Forward arguments in registerChecker to avoid accidental copies

Differential Revision: https://reviews.llvm.org/D50108

git-svn-id: https://llvm.org/svn/llvm-pr...

61cc3c65078fa6a7584fc4bd022aff8088ce7dee authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer][UninitializedObjectChecker] Refactoring p3.: printTail moved out from FieldChainInfo

This is a standalone part of the effort to reduce FieldChainInfos inteerface.

Differential Revi...

5453b50c0d6b4829be4c5a4a0629c34b3e3ae95d authored about 6 years ago by Kristof Umann <[email protected]>
[analyzer] Add ASTContext to CheckerManager

Some checkers require ASTContext. Having it in the constructor saves a
lot of boilerplate of hav...

2b66579025bf6589ad067c9e9ce29baec2fca064 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] Extract a method for creating RefVal from RetEffect in RetainCountChecker

Differential Revision: https://reviews.llvm.org/D51071

git-svn-id: https://llvm.org/svn/llvm-pr...

2f6026bcba57fbedc56c7361e45e91b4a2f3dfa5 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] [NFC] [tests] Move plist-based diagnostics tests to separate files, use diff instead of a FileCheck

Some of the analyzer tests check the exact plist output, in order to
verify that the diagnostics...

27ccfc84597455635bd59e94c0e03a6499ce8e50 authored about 6 years ago by George Karpenkov <[email protected]>
Add a newline to SourceLocation dump output

Summary:
Migrate callers to print().

dump() should be useful to downstreams and third parties a...

2805be5a30f51eefc680f8c64677d85aca3d05a4 authored about 6 years ago by Stephen Kelly <[email protected]>
[analyzer][UninitializedObjectChecker] Fixed a false negative by no longer filtering out certain constructor calls

As of now, all constructor calls are ignored that are being called
by a constructor. The point o...

281d965d73c9dc74f055bcfc9fe47264532cc3fb authored about 6 years ago by Kristof Umann <[email protected]>
[CStringSyntaxChecker] Check strlcat sizeof check

- Assuming strlcat is used with strlcpy we check as we can if the last argument does not equal ...

3073c26729e09f747ef17bd2cae783128f802884 authored about 6 years ago by David Carlier <[email protected]>
[analyzer] [NFC] Move ObjCRetainCount to include/Analysis

Differential Revision: https://reviews.llvm.org/D50869

git-svn-id: https://llvm.org/svn/llvm-pr...

22ebeaac8ab7b73d906a12dbc9f555c321085032 authored about 6 years ago by George Karpenkov <[email protected]>
[analyzer] Add a safety check to InnerPointerChecker.

Do not crash if the CXXRecordDecl of an object is not available.

git-svn-id: https://llvm.org/s...

30920870c00fbaa43395caf44c33f17a66111509 authored about 6 years ago by Reka Kovacs <[email protected]>
Silence "unused variable" warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339747 91177308-0d34-0410-b5e6-96231b3b80d8

73c2aa59d0026aef9ffb6629e0c507f307aac186 authored about 6 years ago by Richard Smith <[email protected]>
[analyzer] Avoid querying this-pointers for static-methods.

Summary:
The loop-widening code processes c++ methods looking for `this` pointers. In
the case ...

7473914badb199de7bde5664b4ed2c79978d5d6f authored about 6 years ago by Matt Davis <[email protected]>
[analyzer] [NFC] Follow the convention when naming classes

Renames InvalidateRegionsWorker and RemoveDeadBindingsWorker

Differential Revision: https://rev...

7c9f5dd031ade65d067e3562a14b19b8752d6c55 authored about 6 years ago by George Karpenkov <[email protected]>
fix comment typo

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340743 91177308-0d34-0410-b5e6-96231b3b80d8

80262ae7a14dca0da6c773c0f65c900b21e97f92 authored about 6 years ago by Nico Weber <[email protected]>
[analyzer] Add a test forgotten in r339088.

Differential Revision: https://reviews.llvm.org/D50363

git-svn-id: https://llvm.org/svn/llvm-p...

7ac07664b96c582b40fe43149d9f7d46a22af147 authored about 6 years ago by Artem Dergachev <[email protected]>
Distinguish `__block` variables that are captured by escaping blocks

from those that aren't.

This patch changes the way __block variables that aren't captured by
esc...

a866fe7bf7c577b698229106f0ddc2d31b285de8 authored about 6 years ago by Akira Hatanaka <[email protected]>
[MinGW] Allow using ASan

Linking to ASan for MinGW is similar to MSVC, but MinGW always links
the MSVCRT dynamically, so ...

e6ebeaaf481870757473b04ec002fa849e43446c authored about 6 years ago by Martin Storsjo <[email protected]>
Revert r343518.

Bots are still failing.

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/24...

9af0395b6d11150f5a881b28bf3d27fe14197eee authored about 6 years ago by Akira Hatanaka <[email protected]>
Update CMakeLists.txt snippet so that example compiles

Summary: Previous to this the example didn't work out of the box, it seems some cmake config cha...

43d5edd56c5d337f188f3970fb1ffccd3966fe0b authored about 6 years ago by Stephen Kelly <[email protected]>
Distinguish `__block` variables that are captured by escaping blocks

from those that aren't.

This patch changes the way __block variables that aren't captured by
esc...

dedd45eb43033375353e464d49e23b43d07e7886 authored about 6 years ago by Akira Hatanaka <[email protected]>
[clang-format] Update comment, NFCI

The initializer of `ParameterCount` was updated from 1 to 0 in r175165,
but the comment was neve...

e130df5734e0870fa0696fce036fb1de6d06fd8d authored about 6 years ago by Krasimir Georgiev <[email protected]>
[ASTMatchers] Let hasAnyArgument also support CXXUnresolvedConstructExpr

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D50605

git-svn-id: ht...

4129164b83e9e5323091f8c06c13f0f2bf9dc9db authored about 6 years ago by Shuai Wang <[email protected]>
[ASTMatchers] Add matchers unresolvedMemberExpr, cxxDependentScopeMemberExpr

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D50606

git-svn-id: ht...

2d9cbb933af05110e9ba2368fe8325b8c87bf6d0 authored about 6 years ago by Shuai Wang <[email protected]>
Add support for importing imaginary literals

Reviewers: a_sidorin, r.stahl, xazax.hun

Subscribers: rnkovacs, dkrupp, cfe-commits

Differenti...

82e0458edfc27a388273d67f8ec6dcc6ff67fd49 authored about 6 years ago by Gabor Marton <[email protected]>
[clang-format] Fix typo in comment, NFCI

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343513 91177308-0d34-0410-b5e6-96231b3b80d8

541d32af7cdd116fbc324a53974f58b275396ff2 authored about 6 years ago by Krasimir Georgiev <[email protected]>
[analyzer][NFC] Refactor functions in PlistDiagnostics to take Preproc as parameter

This is patch is a preparation for the proposed inclusion of macro expansions in the plist outpu...

a7c19c04aef004e97da2f0491da8a90c003f9b9c authored about 6 years ago by Kristof Umann <[email protected]>
[OPENMP][NVPTX] Handle `requires datasharing` flag correctly with

lightweight runtime.

The datasharing flag must be set to `1` when executing SPMD-mode compatible...

faaac5c529209827dbf0f0f47790078deadbf4f6 authored about 6 years ago by Alexey Bataev <[email protected]>
[Basic] Update clang tests (really testing sys::fs) that broke with r343460

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343488 91177308-0d34-0410-b5e6-96231b3b80d8

7c75ccfed6959a3d17ed722a6228d6a6bccb684a authored about 6 years ago by Sam McCall <[email protected]>
[OPENMP] Simplify code, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343483 91177308-0d34-0410-b5e6-96231b3b80d8

1eed50e727bad4f9a991f862417a5f93f15f449a authored about 6 years ago by Alexey Bataev <[email protected]>
[Preprocessor] Fix a crash when handling non-alpha include header.

Summary: the crash is casued by an assertion in StringRef.
(llvm::StringRef::front() const: Asse...

3c5a31d0525ad2cf81e94ee5c38d45019362a272 authored about 6 years ago by Haojian Wu <[email protected]>
[OPENMP] Fix enum identifier, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343479 91177308-0d34-0410-b5e6-96231b3b80d8

039345a171c5e2d62ff58a6aa42586793f47339f authored about 6 years ago by Alexey Bataev <[email protected]>
Add support for unified_shared_memory clause on requires directive

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343472 91177308-0d34-0410-b5e6-96231b3b80d8

0db38f413308fd9c83d285dbc65bae645b0c09ba authored about 6 years ago by Patrick Lyster <[email protected]>
Build clang-headers when building clang tools.

Summary:
clang tools require clang headers to work on real project, e.g. when we
build clangd vi...

a0c469ac4d42afba6f5c5f285b9d8da26833761b authored about 6 years ago by Haojian Wu <[email protected]>
[CodeComplete] #include completion treats -I as non-system (require header-like extension).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343457 91177308-0d34-0410-b5e6-96231b3b80d8

0edd965d5cf9b72e7377ad985c0508c1b87c811c authored about 6 years ago by Sam McCall <[email protected]>
Propagating prior merge from 'llvm.org/master'.

97c6206e74868fc292559e9bd6c83ce686145da2 authored about 6 years ago by Automerger <Automerger@Swift>
Use the container form llvm::sort(C, ...)

There are a few leftovers of rC343147 that are not (\w+)\.begin but in
the form of ([-[:alnum:]>...

7d6dc15f6c20f1c9dd90f65bff508c52f2958f53 authored about 6 years ago by Fangrui Song <[email protected]>
Fix linkage error on ProgramPoint's dump method.

Currently, ProgramPoint::dump calls the out-of-line function ProgramPoint::print. This causes
li...

bdf4477271fb76aee983620359b32b0abf90c77f authored about 6 years ago by Eric Fiselier <[email protected]>
Update ifunc attribute support documentation

Previously we documented GNU binutils and glibc versions required for
ifunc support, but our own...

0d63878a31584a1a7e9760574bcff31e41906a93 authored about 6 years ago by Ed Maste <[email protected]>
Propagating prior merge from 'llvm.org/master'.

3d9a571dd6eb716c2a7ebd6e2e60c3ac48c21133 authored about 6 years ago by Automerger <Automerger@Swift>
[X86] Add more of the icc unaligned load/store to/from 128 bit vector intrinsics

Summary:
This patch adds
_mm_loadu_si32
_mm_loadu_si16
_mm_storeu_si64
_mm_storeu_si32
_mm_store...

5fd1ab66bf97297c2b71ce3ec2bb33d579bca06e authored about 6 years ago by Craig Topper <[email protected]>
Attempt to fix a -Wdocumentation-html warning. NFCI.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343374 91177308-0d34-0410-b5e6-96231b3b80d8

792faf1a89d5a4c08b1210a525d385332cc9a78b authored about 6 years ago by Simon Pilgrim <[email protected]>