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

[LibTooling] Update Stencil to use RangeSelector

Add support for creating a `StencilPart` from any `RangeSelector`, which
broadens the scope of `...

7566666325307d40dec5c5f47daaf77adab026c8 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
Fixed a -Wunused-variable warning when assertions are disabled

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

97176da393dc1164736b74a9f9d7cfd59a280b62 authored over 5 years ago by Dmitri Gribenko <[email protected]>
Combine two if cases because the second one is never reached.

Subscribers: cfe-commits

Tags: #clang

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

...

f2e7f1730f424ec41ba5a68ea09ced96219f9065 authored over 5 years ago by Amy Huang <[email protected]>
[LibTooling] Update Transformer to use RangeSelector instead of NodePart enum.

Transformer provides an enum to indicate the range of source text to be edited.
That support is ...

94dc093645dfe5004e127bec147036900db09320 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
Reland r361148 with a fix to the buildbot failure.

Reverted in r361377.
Also reland the '.gn' files (reverted in r361389).

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

680af1a8ca873be1ab4fc759a83c239d16245fc4 authored over 5 years ago by Ilya Biryukov <[email protected]>
[Modules] Make ReadModuleMapFileBlock errors reliable

During implicit module builds, there are cases where ReadASTCore is
called with ImportedBy set t...

25ff973ba62cd8faa45c4d1dc0bb29f23df33671 authored over 5 years ago by Bruno Cardoso Lopes <[email protected]>
[OpenCL] Support pipe keyword in C++ mode

Support the OpenCL C pipe feature in C++ for OpenCL mode, to preserve
backwards compatibility wi...

ec36dad1b2089ec92370a36615b7828152e34a75 authored over 5 years ago by Sven van Haastregt <[email protected]>
[CGOpenMPRuntime] emitX86DeclareSimdFunction - assert simdlen/cdtsize is not zero. NFCI.

Fixes scan-build division by zero warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/tr...

dc1665e0c4c1261540d881b75c8b97d9121c6eed authored over 5 years ago by Simon Pilgrim <[email protected]>
Clang-formatting the header in advance of other planned changes; NFC.

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

f5bd244aadd38ffebe436cbe40e83ed6db441f5c authored over 5 years ago by Aaron Ballman <[email protected]>
Revert r361148 "[Syntax] Introduce TokenBuffer, start clangToolingSyntax library"

Also reverted r361264 "[Syntax] Rename TokensTest to SyntaxTests. NFC"
which built on it. This i...

22432f5ef1df6e1d102ec2f056d59ec69584385d authored over 5 years ago by Russell Gallop <[email protected]>
[Frontend] Return an error on bad inputs to PrecompiledPreabmle

Summary:
Instead of failing with assertions. Fixes a crash found by oss-fuzz:
https://bugs.chrom...

1811f4cb6d2fe6cd3b1c42b152b2d3d4e4213fea authored over 5 years ago by Ilya Biryukov <[email protected]>
Mark tests from r361278 as unsupported on Windows.

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

fc52252f1aa0a19104f89e09bfbc08e545719d32 authored over 5 years ago by Russell Gallop <[email protected]>
[ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation

Overaligned and underaligned types (i.e. types where the alignment has been
increased or decreas...

4debe7db62fd4f95123a2625b7fe03f21b7eb49c authored over 5 years ago by John Brawn <[email protected]>
[Driver][Windows] Add dependent lib argument for -fprofile-generate and -fcs-profile-generate

Follows on from r360674 which added it for -fprofile-instr-generate.

Differential Revision: htt...

88f9b280cd72a978f15232f3d284c85921df0dcc authored over 5 years ago by Russell Gallop <[email protected]>
[PPC64] Fix PPC64TargetInfo ABI on clang side after D61950

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

cba882bd58a75f40b36a317e789484a61f2b69ad authored over 5 years ago by Fangrui Song <[email protected]>
Propagating prior merge from 'llvm.org/master'.

50a02b2deda98cd72e0b4caf3024780d6e66e716 authored over 5 years ago by Automerger <Automerger@Swift>
[PPC64] Fix PPC64TargetInfo after D61950

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

53982b4b110f1317b178acce192dccdac809cfb2 authored over 5 years ago by Fangrui Song <[email protected]>
[PPC64] Parse -elfv1 -elfv2 when specified on target triple

Summary:
For big-endian powerpc64, the default ABI is ELFv1. OpenPower ABI ELFv2 is supported wh...

75e09b32262072ee0e8b98bf4aa3a290e43e09d7 authored over 5 years ago by Fangrui Song <[email protected]>
Fixed a -Wunused-variable warning when assertions are disabled

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

c5ca4afabdbc399bdc7155442c92f6928c68c022 authored over 5 years ago by Dmitri Gribenko <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

33269afadd8fc5cef370de3212d01acb83b840c5 authored over 5 years ago by swift_jenkins <[email protected]>
[Docs] Increase Doxygen cache size

Summary:
When building Doxygen docs for llvm and clang, it helpfully prints a warning at
the end...

fce93a41299dcc418991394c0d1434167ace6717 authored over 5 years ago by Don Hinton <[email protected]>
[Analysis] Link library dependencies to Analysis plugins

These are needed to avoid undefined symbols which aren't satisfied
by Clang itself.

Differentia...

408c260f7a2474d127655dca523f9d0b8891640e authored over 5 years ago by Petr Hosek <[email protected]>
[PragmaHandler] Expose `#pragma` location

Currently, a pragma AST node's recorded location starts at the
namespace token (such as `omp` in...

6333880aae00e07c175e5672d8dfe468a5032f75 authored over 5 years ago by Joel E. Denny <[email protected]>
Fix target property to make BUILD_SHARED_LIBS work

Public and Private link libraries get merged in the LINK_LIBRARIES property instead of being kep...

f71dcea071a1be41e27d816b89425ba5bd6c7c59 authored over 5 years ago by Chris Bieneman <[email protected]>
[c++20] P1330R0: permit simple-assignments that change the active member

of a union within constant expression evaluation.

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

beec40f7fdb23833c51c2aa79009ce741b03d49a authored over 5 years ago by Richard Smith <[email protected]>
Refactor: split Uninitialized state on APValue into an "Absent" state

representing no such object, and an "Indeterminate" state representing
an uninitialized object. T...

695aab4c2beb2412fc3531e9f55b22267ecf9af3 authored over 5 years ago by Richard Smith <[email protected]>
Rename identifiers to spell out analyze; NFC.

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

7f3bed835e19609413ee76bddde787dbb6cee5e4 authored over 5 years ago by Aaron Ballman <[email protected]>
[Driver] Verify GCCInstallation is valid

Summary:
Values returned by GCCInstallation.getParentLibPath() and
GCCInstallation.getTriple() a...

e9f666dff4764e65704d0145c35d57a7467d8e51 authored over 5 years ago by Nick Desaulniers <[email protected]>
Let -static-pie win if it is specified along with -pie or -static.

Also, disallow specifying -no-pie/-nopie along with -static-pie.

Differential Revision: https:/...

667b24c87f4c053082ce43d7a44aff881167231a authored over 5 years ago by Siva Chandra <[email protected]>
[Modules] Make ReadModuleMapFileBlock errors reliable

During implicit module builds, there are cases where ReadASTCore is
called with ImportedBy set t...

26188f488e5103f84e72bfa709120977c9a450ba authored over 5 years ago by Bruno Cardoso Lopes <[email protected]>
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
unittests/Tooling/CMakeLists.txt

27e534d0efc40e60b677f341e8fb22b6a74400f8 authored over 5 years ago by Akira Hatanaka <[email protected]>
Remove unicode character from test

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

5c556b2b045c8cb1037a44d0ae34ec553318257a authored over 5 years ago by Leonard Chan <[email protected]>
Fix test failures after r361278 on non-Darwin platforms and when

CLANG_DEFAULT_STDLIB is defined to libstdc++.

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

52cec611bdf259de67b159f915be7bec66a435fb authored over 5 years ago by Richard Smith <[email protected]>
[c++20] P0780R2: Support pack-expansion of init-captures.

This permits an init-capture to introduce a new pack:

template<typename ...T> auto x = [...a ...

2cbdb2c8c9b3f69f86778901a4bfbc5a7fb11c79 authored over 5 years ago by Richard Smith <[email protected]>
[OpenMP] Add support for registering requires directives with the runtime

Summary:
This patch adds support for the registration of the requires directives with the runtim...

830db7a928404a1f6365312d1045400af3d198b3 authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
[DebugInfo] Don't emit checksums when compiling a preprocessed CPP

Fixes PR41215

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

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

d4dc1a1166ffacf59762ba7fd00a08d41b1d11f5 authored over 5 years ago by Alexandre Ganea <[email protected]>
Merge pull request #322 from apple/fixbuild

[DirectoryWatcher] Fix libclang build for upstream-with-swift.

7382f921795c6e515c38631be59a7c2cab8f7dcb authored over 5 years ago by Davide Italiano <[email protected]>
[DirectoryWatcher] Fix libclang build for upstream-with-swift.

6e5463ddca8bd91c286767669ee84c1a4f844ed0 authored over 5 years ago by Davide Italiano <[email protected]>
[LibTooling] Address post-commit feedback for r361152

Fixes a redundant dependency and moves another to its proper place.

Reviewers: thakis

Subscrib...

361087be665198fc831e86ddcb13c4e22d115420 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[OPENMP]Use the attributes for dso locality when building for device.

Currently, we ignore all dso locality attributes/info when building for
the device and thus all ...

432603d94f05f7b0efea0cb35f41ff69c793efba authored over 5 years ago by Alexey Bataev <[email protected]>
[clang][Darwin] Refactor header search path logic into the driver

Summary:
This commit moves the logic for determining system, resource and C++
header search path...

3541ea8ff78a71cfb4f30a4371cdc136b5bbe013 authored over 5 years ago by Louis Dionne <[email protected]>
[CMake] One more stab at fixing BUILD_SHARED_LIBS

If clang's libraries are build SHARED, we need to grab their `PRIVATE_LINK_LIBRARIES` properties...

ba43004e612b2de9d60fd5b07164e63fa8fe4875 authored over 5 years ago by Chris Bieneman <[email protected]>
Do not use the incorrect attribute spelling list index when translating a no_sanitize_foo attribute into a no_sanitize("foo") attribute.

This fixes a crash when AST pretty printing declarations marked with no_sanitize_memory.

git-sv...

066dde24f062acf75e1e6bb037a6e27ca3b77739 authored over 5 years ago by Aaron Ballman <[email protected]>
Fix BUILD_SHARED_LIBS for clang which broke in D61909

llvm_add_library ignores `BUILD_SHARED_LIBS` `STATIC` is explicitly specified. This restores the...

153460e92a503344b5f2232e4aa5c15554d9ab62 authored over 5 years ago by Chris Bieneman <[email protected]>
[OPENMP][NVPTX]Mark more functions as always_inline for better

performance.

Internally generated functions must be marked as always_inlines in most
cases. Patc...

1353fe814c52fd2eb0324cea1099ed79703896ff authored over 5 years ago by Alexey Bataev <[email protected]>
Add support for dumping AST comment nodes to JSON.

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

6b544e2d0d0e55b57c95825ee03a9f7423174ada authored over 5 years ago by Aaron Ballman <[email protected]>
[Syntax] Rename TokensTest to SyntaxTests. NFC

To be more consistent with conventions used in the codebase. The new
name will be a better fit w...

049ffe67aee9d620b0b5ace24e95db229ca540a5 authored over 5 years ago by Ilya Biryukov <[email protected]>
[ARM][CMSE] Add commandline option and feature macro

Defines macro ARM_FEATURE_CMSE to 1 for v8-M targets and introduces
-mcmse option which for v8-M...

470239452088f568ae6edfb619f95756a7114fd7 authored over 5 years ago by Javed Absar <[email protected]>
[CodeGenModule] BlockByrefHelpers - add missing uninitialized variables to constructor. NFCI.

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

9f866974f64b8e4009a10af826e77bb8b5e25afe authored over 5 years ago by Simon Pilgrim <[email protected]>
[CGBuiltin] dumpRecord - remove unused field offset. NFCI.

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

8f4fec90a1951053daa891537bc8180bfb648985 authored over 5 years ago by Simon Pilgrim <[email protected]>
[libclang] visit c++14 lambda capture init expressions

Patch by Milian Wolff.

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

git-svn-id: htt...

e66a0d3c2036c5a786bb1fdbfac0297194a735ba authored over 5 years ago by Nikolai Kosjar <[email protected]>
Propagating prior merge from 'llvm.org/master'.

d6d3bb048c37136a8c274b293436602b3b70fa62 authored over 5 years ago by Automerger <Automerger@Swift>
[Preamble] Reuse preamble even if an unsaved file does not exist

When a preamble is created an unsaved file not existing on disk is
already part of PrecompiledPr...

29994b0c63a40f9c97c664170244a7bba5ecc15e authored over 5 years ago by Nikolai Kosjar <[email protected]>
Try to fix build with older gccs after r361152

Also merge the cmake change there to the gn build.

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

cc6493e85b03bc13560dfa6de1cd609b9ba7b4ec authored over 5 years ago by Nico Weber <[email protected]>
Give 'fixit-cxx0x.cpp' a more modern name.

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

6569096699ef2c118f4afc2e081e21d06db63f85 authored over 5 years ago by Richard Smith <[email protected]>
[Sema] Fix for build on some iOS programs.

Nullability attributes weren't being stripped for AttributedTypes that
were wrapped in a MacroQu...

c0a4f459e50521676bead07a7b868a82e2f0fc55 authored over 5 years ago by Leonard Chan <[email protected]>
Add more tests for AST JSON output; NFC.

This adds tests for dumping expressions in C. It also updates a comment to note an issue to be f...

1d083f849b0e7fade414f89bb871b73a1bfefa3a authored over 5 years ago by Aaron Ballman <[email protected]>
[X86] Check the alignment argument for the masked.load/store for the _mm_mask_store_ss/sd and _mm_mask(z)_load_ss/sd intrinsics.

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

fd40bdf2995aef31cc236544c00aa41b3b7e04d9 authored over 5 years ago by Craig Topper <[email protected]>
Merge remote-tracking branch 'llvm.org/master' into upstream-with-swift

Conflicts:
unittests/Tooling/CMakeLists.txt

bf893bf3d8b2364cf6902868bf043dcef8243b3a authored over 5 years ago by Akira Hatanaka <[email protected]>
[CMake] Update DistributionExample for mono repo

This just updates the DistributionExamples from my 2016 Dev Meeting talk to work more seamlessly...

55cefac1485939476277af2a6da30d2e462dc13e authored over 5 years ago by Chris Bieneman <[email protected]>
Rearrange and clean up how we disambiguate lambda-introducers from ObjC

message sends, designators, and attributes.

Instead of having the tentative parsing phase someti...

8244457f8cc73df0ac3fddd715d0b0a1b43df52d authored over 5 years ago by Richard Smith <[email protected]>
Dump macro expansion information as needed when outputting the AST to JSON.

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

84671b19e00952930c253709a0450ee67fa51f7b authored over 5 years ago by Aaron Ballman <[email protected]>
Renamed `apply` to `select` to avoid ADL conflict with `std::apply`

Summary:
`std::apply` in C++14 and above is defined with two unrestricted arguments, and
it wins...

61603736e7c9092e0df68d4dd8c87f33eb2e603d authored over 5 years ago by Dmitri Gribenko <[email protected]>
[Intrinsics] Merge lround.i32 and lround.i64 into a single intrinsic with overloaded result type. Make result type for llvm.llround overloaded instead of fixing to i64

We shouldn't really make assumptions about possible sizes for long and long long. And longer ter...

625704901315d46151fbf48c7b4b9c9a5ff33221 authored over 5 years ago by Craig Topper <[email protected]>
Fix test not to use UNSUPPORTED as a FileCheck prefix.

It was not causing a problem but it's not good practice.

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

7268c65d71e2de67bf71effb66313d015100471d authored over 5 years ago by Paul Robinson <[email protected]>
[LibTooling] Fix build break in test after r361152.

r361152 broke gcc builds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361160 911773...

0fa0ee19cf8841313df93a9948a3568cd93eeca2 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[LibTooling] Add RangeSelector library for defining source ranges based on bound AST nodes.

Summary:

The RangeSelector library defines a combinator language for specifying source
ranges b...

656c6841800d286b6c4517d9c1f8308e808a4728 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
[Syntax] Introduce TokenBuffer, start clangToolingSyntax library

Summary:
TokenBuffer stores the list of tokens for a file obtained after
preprocessing. This is ...

0764aec253cbbf4522bd69cedff79e9e3b4cede5 authored over 5 years ago by Ilya Biryukov <[email protected]>
Propagating prior merge from 'llvm.org/master'.

dcd6c9f9662e37e424f732fd0e1c31b9e4be85ed authored over 5 years ago by Automerger <Automerger@Swift>
Fix compilation warning about unused variable [NFC]

Without the fix at least clang 3.6 complains with

../tools/clang/lib/AST/ExprConstant.cpp:90:24...

2547712fac2b01170de83c61ada593203eb6c29a authored over 5 years ago by Mikael Holmen <[email protected]>
[Analyzer] Refactor begin and end symbol creation

This patch refactors begin and end symbol creation by moving symbol
conjuration into the `create...

f5a1b04463042b486baf4542ff961023c10ff632 authored over 5 years ago by Adam Balogh <[email protected]>
[ASTImporter] Enable disabled but passing tests

Reviewers: a_sidorin, a.sidorin, shafik

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cf...

7111c842e8a6d2254992c97ccad307dfd7ba1166 authored over 5 years ago by Gabor Marton <[email protected]>
Propagating prior merge from 'llvm.org/master'.

37a18756bda267380e33f6c7ba3e49c372abe758 authored over 5 years ago by Automerger <Automerger@Swift>
Fix buildbot: Use correct Consume*() for braces.

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

b30c81b061a542e85b98e3d337050a9b5170db80 authored over 5 years ago by Nicolas Lesser <[email protected]>
Added a better diagnostic when using the delete operator with lambdas

Summary:
This adds a new error for missing parentheses around lambdas in delete operators.

```
...

bc416fbc59511cf2199dbaa49501c16dac527b6a authored over 5 years ago by Nicolas Lesser <[email protected]>
Add a Visit overload for DynTypedNode to ASTNodeTraverser

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https:/...

68bcda164b8dfc9f374bbd98db5012c0d0ebd33d authored over 5 years ago by Stephen Kelly <[email protected]>
[AVR] Automatically link CRT and libgcc from the system avr-gcc

Summary:
This patch modifies the AVR toolchain so that if avr-gcc and avr-libc
are detected duri...

2a333fbcb8eb17cbd7f97fbbb35e39fffa2471ed authored over 5 years ago by Dylan McKay <[email protected]>
Propagating prior merge from 'llvm.org/master'.

66c37017aae90abac23957c02ff91100792ab719 authored over 5 years ago by Automerger <Automerger@Swift>
[X86] Remove semicolons at the end of intrinsics implemented as macros so they can be used as arguments to other intrinsics.

Also fix one intrinsic that was using variable names without underscores.

Fixes PR41932

git-sv...

c1f3657b4b095af6538a66b5c3015a0162b0dfb1 authored over 5 years ago by Craig Topper <[email protected]>
[analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType

https://bugs.llvm.org/show_bug.cgi?id=41753

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

c84d25821d54653102ea897a05b9c1fb9be294bf authored over 5 years ago by Kristof Umann <[email protected]>
ScalarExprEmitter::EmitCompoundAssign - fix uninitialized variable warning. NFCI.

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

c6485a32ba8231733bd7495596e826cbed75d79a authored over 5 years ago by Simon Pilgrim <[email protected]>
MIGChecker - assert we have a non-null LocationContext. NFCI.

Fixes scan-build warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361097 911773...

7442b5e3d6aaa8fbdfb5af802d815dcd73fc822d authored over 5 years ago by Simon Pilgrim <[email protected]>
ASTNodeImporter - fix uninitialized variable warnings. NFCI.

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

19ca65bd457b4185f3b59c8476ccb6181973d55b authored over 5 years ago by Simon Pilgrim <[email protected]>
Propagating prior merge from 'llvm.org/master'.

3d2202dcb7c848da8bc8d3631700b439d3015196 authored over 5 years ago by Automerger <Automerger@Swift>
Fixup build after upstream commit

3044c4bc86175dab4d94aca2ed8815720c47f5fc authored over 5 years ago by Alex Lorenz <[email protected]>
[c++20] P1327R1: Support for typeid applied to objects of polymorphic

class type in constant evaluation.

This reinstates r360977, reverted in r360987, now that its re...

28f597c2ef2338dcae6d3aa47c73639eec99afd9 authored over 5 years ago by Richard Smith <[email protected]>
[OpenMP][bugfix] Add missing math functions variants for log and abs.

Summary: When including the random header in C++, some of the math functions it relies on are no...

22034f6b6b898814a7ec767819eeab6439282ffd authored over 5 years ago by Gheorghe-Teodor Bercea <[email protected]>
Add more tests for AST JSON output; NFC.

This adds tests for dumping records and statements.

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

c7e50be537e3d5561dbd49fd2783e2f9724d2d70 authored over 5 years ago by Aaron Ballman <[email protected]>
Revert r361033 "Add a Visit overload for DynTypedNode to ASTNodeTraverser"

It fails to build on some bots.

Also revert follow-up r361055.

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

fc38b337bccb87acb85a1037080ca4b0eca6b794 authored over 5 years ago by Nico Weber <[email protected]>
Attempt to fix test on Windows after r360998

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

654863bdd931a9e73d4a1538c0e6d5679b1e3fca authored over 5 years ago by Nico Weber <[email protected]>
Added an assertion to constant evaluation enty points that prohibits dependent expressions

Summary:
Constant evaluator does not work on value-dependent or type-dependent
expressions.

Als...

913ffa6ba34794946fdeb3bdb469d8fbe6bc2088 authored over 5 years ago by Dmitri Gribenko <[email protected]>
[analyzer] Remove the default value arg from getChecker*Option

Since D57922, the config table contains every checker option, and it's default
value, so having ...

ce3ecc9eafe661f832db05d94d6d96f966b63f46 authored over 5 years ago by Kristof Umann <[email protected]>
[LibTooling] Add support to Transformer for composing rules as an ordered choice.

This revision updates `RewriteRule` to support multiple subrules that are
interpreted as an orde...

2033acf56e6a287b9fd32bd85e65c2ad21735583 authored over 5 years ago by Yitzhak Mandelbaum <[email protected]>
Extract ASTDumper to a header file

Summary:
This class has member APIs which are useful to clients. Make it
possible to use those ...

6da38a622be8198c59aed95c7440a645bc8b00b7 authored over 5 years ago by Stephen Kelly <[email protected]>
Add a Visit overload for DynTypedNode to ASTNodeTraverser

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https:/...

121ebecd223d740bb38857f723b64aee85d0ffcf authored over 5 years ago by Stephen Kelly <[email protected]>
Fix Wdocumentation warnings. NFCI.

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

27afea5500098cb716d0df10097c1f9f793cf927 authored over 5 years ago by Simon Pilgrim <[email protected]>
[analyzer] Validate checker option names and values

Validate whether the option exists, and also whether the supplied value is of
the correct type. ...

37bdceb8805f914e4237882fe6dc603a9b97a4f1 authored over 5 years ago by Kristof Umann <[email protected]>
Propagating prior merge from 'llvm.org/master'.

2377596f4fa6b75d4b7622874ae5ca3665c9184c authored over 5 years ago by Automerger <Automerger@Swift>
[Lex] Allow to consume tokens while preprocessing

Summary:
By adding a hook to consume all tokens produced by the preprocessor.
The intention of t...

a3c314617033ec86c5a4eac093e301b359c48c9d authored over 5 years ago by Ilya Biryukov <[email protected]>
[analyzer] Insert checker options into AnalyzerOption::ConfigTable

The more entries we have in AnalyzerOptions::ConfigTable, the more helpful
debug.ConfigDumper is...

786546290e1a65c82093c02bbf7f3c7724afa8ca authored over 5 years ago by Kristof Umann <[email protected]>