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

[OPENMP]Allow no allocator clause in target regions with requires

dynamic_allocators.

According to the OpenMP 5.0, 2.11.3 allocate Directive, Restrictions,
alloca...

2bfaf970c6ec8691877d16a7e7a83b41bd7282c9 authored almost 6 years ago
[OPENMP]Emit error message for allocate directive without allocator

clause in target region.

According to the OpenMP 5.0, 2.11.3 allocate Directive, Restrictions,
a...

c1e4e8b66b8cc9ef54bc6484cb724e664798ae57 authored almost 6 years ago
[AST] OMPStructuredBlockTest: avoid using multiline string literals in macros

That is what i have been doing elsewhere in these tests, maybe that's it?

Maybe this helps with...

990ffcb8042af8e83c4c742c3fa0410b8267cb1f authored almost 6 years ago
[Tooling] Avoid working-dir races in AllTUsToolExecutor

Reviewers: ioeric

Reviewed By: ioeric

Subscribers: jdoerfert, cfe-commits

Tags: #clang

Diffe...

e3172cb65ff2f5bfb5d664a2ba4e97effc100c44 authored almost 6 years ago
[ARM] Add Cortex-M35P Support

- Add clang frontend testing for Cortex-M35P

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

8e93e6dc62856e1611157707ac99f59570ea66ed authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

6c5572829a9099e97b4992538625d6187c1a3f62 authored almost 6 years ago
This test assumes that -rtlib defaults to libgcc. But that isn't true in the face of -DCLANG_DEFAULT_RTLIB=compiler-rt.

Subscribers: dberris, jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://revie...

249cf79bade5af443c2a997b5cf645aa1a9e2843 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

379f71a05d3c2eb9ab96b0441516600e9f43a52d authored almost 6 years ago
[CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in constructors.

When searching for construction contexts, i.e. figuring out which statements
define the object t...

1a9463ef4551eedfae56a82d6de60d5c3f1cac67 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Unknown condition evaluation support

Summary:
If the constraint information is not changed between two program states the
analyzer ha...

3d04649f50704f93cdada52a107d994fc5c3df83 authored almost 6 years ago
[analyzer] ConditionBRVisitor: Remove GDM checking

Summary:
Removed the `GDM` checking what could prevent reports made by this visitor.
Now we rely...

e0ec711b5725fc11a4761db1f99f93b503c71c97 authored almost 6 years ago
[analyzer] RetainCount: A function isn't a CFRetain if it takes no arguments.

Don't crash when a function has a name that starts with "CF" and ends with
"Retain" but takes 0 ...

4286f0f80091dd7fc525710d18696ad27114dd4d authored almost 6 years ago
[analyzer] Support C++17 aggregates with bases without constructors.

RegionStore now knows how to bind a nonloc::CompoundVal that represents the
value of an aggregat...

e76a633b7389cc2268604f7083d50ef22ff2321f authored almost 6 years ago
[analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker

For a rather short code snippet, if debug.ReportStmts (added in this patch) was
enabled, a bug r...

2521e27f535e28e0e793bfcffcf34587c345bcf9 authored almost 6 years ago
[analyzer] Handle comparison between non-default AS symbol and constant

Summary:
When comparing a symbolic region and a constant, the constant would be
widened or trunc...

adf1f3c740faf1a71b6082c5a420887c43f4117a authored almost 6 years ago
[AArch64] Split the neon.addp intrinsic into integer and fp variants.

This is the result of discussions on the list about how to deal with intrinsics
which require co...

28647f65ca9348a7b245c0ca4684c3ee2fa4d56b authored almost 6 years ago
[OPENMP]Fix a warning about unused variable, NFC.

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

d489988e53d97d625e8dfe02ca57f39bb36d97d9 authored almost 6 years ago
Improve the diagnostic for #include_next occurring in a file not found

in the include path.

Instead of making the incorrect claim that the included file has an
absolut...

8d5dd692a0d082c292de64a3a093d9901c8238e2 authored almost 6 years ago
[OPENMP] Simplify codegen for allocate directive on local variables.

Simplified codegen for the allocate directive for local variables,
initial implementation of the...

a91bba1be08af6be68b577cd0e2a237c728f1a03 authored almost 6 years ago
[X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus

Use the new cx8 feature flag that was added to the backend to represent support for cmpxchg8b. U...

d311fb0d8ab0cbd7d5abb3da427188dd42b04583 authored almost 6 years ago
[Driver] Pass -malign-double from the driver to the cc1 command line

-malign-double is currently only implemented in the -cc1 interface. But its declared in Options....

10535f02fa4221be9866d5b5572b622025e149bb authored almost 6 years ago
[CodeGen][ObjC] Annotate calls to objc_retainAutoreleasedReturnValue

with notail on x86-64.

On x86-64, the epilogue code inserted before the tail jump blocks the
aut...

4fe8e717896ca103376be6a3cb30d648ef359e6a authored almost 6 years ago
Refactor handling of #include directives to cleanly separate the

"skipped header because it should be imported as a module" cases from
the "skipped header because...

40a2645eeea93efdd50b577577fd0db5ce95a90a authored almost 6 years ago
[OPENMP]Codegen support for allocate directive on global variables.

For the global variables the allocate directive must specify only the
predefined allocator. This...

bf77be7a1ebf54d2f3b6260bb905ed04e9314049 authored almost 6 years ago
[clang][OpenMP] Fix another test when using libgomp.

Similarly to r356614, -fopenmp=libomp needs to be used for some omp-related AST matching.

git-s...

aa23c03a84ca290bab40b6da61aea9b1821d9c44 authored almost 6 years ago
[OPENMP]Simplify the check for the predefined allocators, NFC.

Previously implemented check required the reevaluation of the already
evaluated predefined alloc...

cd6203d849e5085306ca6ea9be7beeb189726b70 authored almost 6 years ago
[X86] Add __popcntd and __popcntq to ia32intrin.h to match gcc and icc. Remove popcnt feature flag from _popcnt32/_popcnt64 and move to ia32intrin.h to match gcc

gcc and icc both implement popcntd and popcntq which we did not. gcc doesn't seem to require a f...

2f63b89563b3b38799e89c2897eea594314a37bd authored almost 6 years ago
[X86] Use the CPUKind enum from PROC_ALIAS to directly get the CPUKind in fillValidCPUList.

We were using getCPUKind which translates the string to the enum also using PROC_ALIAS. This jus...

83386471224da56316d3de126587377a95d54c69 authored almost 6 years ago
Merge pull request #282 from bob-wilson/clang-r356530

Update reference to tok::angle_string_literal

104d0027ac4fce53b2ffe33f0d8ea7d65d86b1b1 authored almost 6 years ago
Update reference to tok::angle_string_literal

Clang r356530 renamed tok::angle_string_literal to tok::header_name.
Update this code to match.

e32680f098d3b2f3aa3c75b942226c047ce8c5a0 authored almost 6 years ago
[AST] OMPStructuredBlockTest: two matchers were promoted into ASTMatchers.h

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

b6d6adc5699edc736c164d46847e894a3f6695b3 authored almost 6 years ago
[ASTMatcher] Add clang-query disclaimer to two more matchers that take enum

As we have figured out in
https://reviews.llvm.org/D57112
and
https://bugs.llvm.org/show_bug.cgi...

3de22ecb0fcb1c987e2be67e929bbbd69805b526 authored almost 6 years ago
[ASTMatchers][OpenMP] OpenMP Structured-block-related matchers

Summary: Exposes to the for ASTMatchers the interface/modelling
of OpenMP structured-block.

Re...

6be9af4d254bca225b6627eb34163e38c97a3747 authored almost 6 years ago
[ASTTypeTraits][ASTMatchers][OpenMP] OMPClause handling

Summary:
`OMPClause` is the base class, it is not descendant from **any**
other class, therefore...

b1325381fd90ed5a8a0ce82051d33b9d53267ac5 authored almost 6 years ago
[ASTMatchers][OpenMP] Add base ompExecutableDirective() matcher.

Summary:
A simple matcher for `OMPExecutableDirective` Stmt type.
Split off from D57113.

Review...

413415606b080f8cd0881fc8d33ec3974655eecb authored almost 6 years ago
Permit redeclarations of a builtin to specify calling convention.

After https://reviews.llvm.org/rL355317 we noticed that quite a decent
amount of code redeclares...

f3fae3fc58401b1955106ac46249e9aff2749ab2 authored almost 6 years ago
[clang-format] Add basic support for formatting C# files

Summary:

This revision adds basic support for formatting C# files with clang-format, I know the...

e2755ead71aa45e2b4e65be9213db0a1fcea62fb authored almost 6 years ago
Mark indexstore callbacks with noescape attribute

af05b02365381cd57ec916745252fa3bdfb56c8d authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

14c129473ffd9651624f987cb628e3ab622b5798 authored almost 6 years ago
creduce-clang-crash.py: preprocess file + reduce commandline

This CL causes our creduce-clang-crash.py util to:

- try to preprocess the file before reducing...

d64f72e215118d0c408122a328f3187f089b4919 authored almost 6 years ago
[CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in constructors.

When searching for construction contexts, i.e. figuring out which statements
define the object t...

af056c19ff3a01ed497090b8408eee2ab21010d4 authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

b1f4baeb569ff9cf4d2cc291666ee8e122c99a31 authored almost 6 years ago
Copy test case forward-protocol-metadata-symbols.m from open source.

rdar://problem/49060922

b3209988b07f72ef65091c829082b52696713832 authored almost 6 years ago
Remove extra white spaces

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

8c999c6022f86eb1a6ae83c206df161386ccfc20 authored almost 6 years ago
Revert "[clangd] Print arguments in template specializations"

This reverts commit 44a63f6a150dec72dea43730d2a89d292e58bd6f. It segfaults on an internal test c...

5f6d40c7c3da4a9952ed41e6a979abe19d16626a authored almost 6 years ago
[clang-format][NFC] fix release notes build issue

build issue from r356613

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356615 9117730...

2b01fa7edf0effc2514b9eea3cf325de593af448 authored almost 6 years ago
[clang][OpenMP] Fix build when using libgomp

Summary: rL356570 introduced a test which only passes with the default openmp library, libomp, a...

62984c5f4a19d8d48b90b127f027fa1c7260843c authored almost 6 years ago
Merge pull request #280 from weliveindetail/compiler_rt-tests-require-testingsupport

[CMake] External compiler_rt tests require LLVMTestingSupport

979587e9f80b7028cb4f74132ca6346dc5261e74 authored almost 6 years ago
[CMake] External compiler-rt-configure requires LLVMTestingSupport when including tests

Summary:
Apparently `LLVMTestingSupport` must be built before `llvm-config` can be asked for it....

08f92f81fac83a9294589b93ebbb924e7bf7b730 authored almost 6 years ago
[clang-format] BeforeHash added to IndentPPDirectives

Summary:
The option BeforeHash added to IndentPPDirectives.
Fixes Bug 36019. https://bugs.llvm.o...

9c0f34221d0091db37913871cdcd7b0c425d9ad9 authored almost 6 years ago
[X86] Add __crc32b/__crc32w/__crc32d/__crc32q intrinsics to match gcc and icc.

gcc has these intrinsics in ia32intrin.h as well. And icc implements them
though they aren't doc...

fdd0567e3912a5331f3768c9e82c0e16e4ed2f9e authored almost 6 years ago
[OPENMP]Improve detection of omp_allocator_handle_t type and predefined

allocators.

It is better to deduce omp_allocator_handle_t type from the predefined
allocators, b...

da1812dcb198a84f6c45919e4ba7e0cf035238c8 authored almost 6 years ago
Fix implicit ios -> watchOS availability version mapping for

versions that have the major number only

rdar://48018651

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

4f7e7882e9972ec567a0529a38737cb83324c91b authored almost 6 years ago
[Parse] Parse '#pragma clang attribute' as an external-declaration

Previously, we parsed it only in the top level, which excludes namespaces and
extern "C" blocks....

c9e3a4303a45f5bd26d8e6a67cce69a5d701e93a authored almost 6 years ago
Add a __has_extension check for '#pragma clang attribute' as an external-declaration

This was added in r356075.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356600 91177...

3ecf51b8961280fe0da2c8c849ac15b59653c710 authored almost 6 years ago
Revert "Add a new attribute, fortify_stdlib"

This reverts commit r353765. After talking with our c stdlib folks, we decided
to use the existi...

1f95930ca05279d3cb49f9c508ab9d7dbdf8e740 authored almost 6 years ago
[Sema] Deduplicate some availability checking logic

Before this commit, we emit unavailable errors for calls to functions during
overload resolution...

dcc663322be31ac3c84e60b0b3147e5086c760db authored almost 6 years ago
Fix implicit ios -> watchOS availability version mapping for

versions that have the major number only

rdar://48018651

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

7e0437d765f7efc68131414247fb8823c11fb8e0 authored almost 6 years ago
Add a __has_extension check for '#pragma clang attribute' as an external-declaration

This was added in r356075.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356600 91177...

4af5ac01fa9f9cb12edfccbbd45a0043461696b0 authored almost 6 years ago
[Sema] Deduplicate some availability checking logic

Before this commit, we emit unavailable errors for calls to functions during
overload resolution...

3a174f1eb6965618e3c0d58efdc7b1a0ac5e8e29 authored almost 6 years ago
Recommit "Support attribute used in member funcs of class templates"

This diff previously exposed a bug in LLVM's IRLinker, breaking
buildbots that tried to self-hos...

09aea98d000e0081c512a1ef9e3690f2a6762157 authored almost 6 years ago
Remove the unused return value in ASTImporter::Imported [NFC]

Summary:
`ASTImporter::Imported` currently returns a Decl, but that return value is not used by ...

1e1ffe52e64547dc5f23ac1d017f284d33142a52 authored almost 6 years ago
Add a spelling of pass_object_size that uses __builtin_dynamic_object_size

The attribute pass_dynamic_object_size(n) behaves exactly like
pass_object_size(n), but instead ...

74cf9b73f2c123892d809728b4bc690d84dad1ea authored almost 6 years ago
[X86] Remove getCPUKindCanonicalName which is unused.

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

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

e993d49b6ef7ce9cb4655734ee2f7245a422b4e0 authored almost 6 years ago
[NFC][ASTMatchers] Alphabetically sort REGISTER_MATCHER() macros in RegistryMaps::RegistryMaps()

As noted in https://reviews.llvm.org/D59453#inline-526253

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

139766bc22a8786a6c2f566d576b3dff393fd556 authored almost 6 years ago
[AST] Disable ast-dump-openmp-parallel-master-XFAIL.c test

Fails on MSVC buildbot (but not locally).
Not important as it is 'testing' something that isn't ...

c8272638234eae3188f22471a6476cab3576d3c1 authored almost 6 years ago
[clang-format] structured binding in range for detected as Objective C

Summary:
Sometime after 6.0.0 and the current trunk 9.0.0 the following code would be considered...

a2426a927ea322592f08d54449b3742f0bed2ba6 authored almost 6 years ago
Merge remote-tracking branch 'swift.org/swift-5.1-branch' into stable

Manually merge to align with changes to the master branch in swift.

rdar://problem/48545366

43a259f40e3dbd80f659260583eb6eaba5ccc1e4 authored almost 6 years ago
Modules: Invalidate out-of-date PCMs as they're discovered

Leverage the InMemoryModuleCache to invalidate a module the first time
it fails to import (and t...

cb8f214cc5bccc603f1e015d69e3bad0d26a9961 authored almost 6 years ago
Fix slashes in path references in -Rmodule-import test from r355477

Fixup for r355477 to fix the Windows bot:
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-...

bd6cf3427d3289b90379444295ad3286f96c05de authored almost 6 years ago
Stop relying on allocator behaviour in modules unit test

Another fixup for r355778 for Windows bots, this time to stop
accidentally relying on allocator ...

781261be679b124527bdf68dfc1ee2471a4f161b authored almost 6 years ago
Modules: Document that ReadASTCore exits its final loop via `return`, NFC

The final loop never breaks. Document that by following it with
llvm_unreachable.

git-svn-id: ...

449af46732acbcfe9969e5665bfdca8ee78adc66 authored almost 6 years ago
Fix slashes in path references in -Rmodule-import test from r355778

Fixup for r355778 to fix all the Windows bots. Apparently I already
forgot the lesson from r355...

ccf0846275dc948d4bab784c488258c0cd41e327 authored almost 6 years ago
Modules: Add LangOptions::CacheGeneratedPCH

Add an option to cache the generated PCH in the ModuleCache when
emitting it. This protects cli...

2867901c978111f102cbf5042d3affc42f8c485e authored almost 6 years ago
Modules: Rename MemoryBufferCache to InMemoryModuleCache

Change MemoryBufferCache to InMemoryModuleCache, moving it from Basic to
Serialization. Another...

5de1d57ec2c9d8b2b4c5ebdb4e2e13a53192a2a2 authored almost 6 years ago
Modules: Add -Rmodule-import

Add a remark for importing modules. Depending on whether this is a
direct import (into the TU b...

ffc4ab77f41befa1e85476fa3e61a0d24ef89e3f authored almost 6 years ago
[OpenCL] Generate 'unroll.enable' metadata for __attribute__((opencl_unroll_hint))

Summary:
[OpenCL] Generate 'unroll.enable' metadata for __attribute__((opencl_unroll_hint))
...

a5df1086a28d24e287c19a94b570bc66e6814d76 authored almost 6 years ago
[clang][OpeMP] Model OpenMP structured-block in AST (PR40563)

Summary:
https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf, page 3:
```...

56b1345a3cda63ec3fc1989abb22e2e873ef0f50 authored almost 6 years ago
[NFC][clang][astdump] Some baseline tests for OpenMP

Summary:
Split off from D59214.
Not a fully exhaustive test coverage, but better than what there...

e3559693e3e6fdf0c96029a0d44b0aed949cf3a5 authored almost 6 years ago
[ASTImporter] Remove obsolete function ImportTemplateParameterList.

Summary:
The ASTNodeImporter::ImportTemplateParameterList is replaced by a
template specializati...

d4556f1c17b58e429e2db689c400fb4e6955582c authored almost 6 years ago
Correct this attribute group documentation to have a heading, which fixes the docs builder.

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

74d4f018f420632345b3c9fdd5e24ee5b118a29c authored almost 6 years ago
Fix -Wdocumentation warning. NFCI.

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

8d8b043495130fe016acd9c49a34bdb78fe0d3b7 authored almost 6 years ago
Propagating prior merge from 'llvm.org/master'.

b06fd4ebb1c1f8a7492199b040b5cd3226783979 authored almost 6 years ago
[clangd] Print arguments in template specializations

Reviewers: ilya-biryukov

Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits

Tags: #c...

4f766acf96e300b0963570c2a7f9967bfc313463 authored almost 6 years ago
[X86] Separate PentiumPro and i686. They aren't aliases in the backend.

PentiumPro has HasNOPL set in the backend. i686 does not.

Despite having a function that looks ...

b4f4320de39f9a7227af0a8374c6739af6969f7a authored almost 6 years ago
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

d11464601a92f18b47c4761371f48fedf12a56b7 authored almost 6 years ago
Variable auto-init: split out small arrays

Summary: Following up with r355181, initialize small arrays as well.

LLVM stage2 shows a tiny s...

5a8f59c67c3e4faa73a17cdfc0098ff9bf73f6e5 authored almost 6 years ago
Replace tok::angle_string_literal with new tok::header_name.

Use the new kind for both angled header-name tokens and for
double-quoted header-name tokens.

T...

b995249659f360b78c8e40b6c544a68a4f0e6ef8 authored almost 6 years ago
Fix CodeGen/arm64-microsoft-status-reg.cpp test

Summary: This test is failing after r356499 (verified with `ninja check-clang-codegen`). Update ...

936040cab53f6a47c86a67ea2296cda61ccf616c authored almost 6 years ago
Add a spelling of pass_object_size that uses __builtin_dynamic_object_size

The attribute pass_dynamic_object_size(n) behaves exactly like
pass_object_size(n), but instead ...

b8a5f1f4bfd8036e2bd5ae465c923e895a80f91d authored almost 6 years ago
[OPENMP]Warn if the different allocator is used for the variable.

If the allocator was specified for the variable and next one is found
with the different allocat...

c96f4c0bde7858f97b310c87ea824c458301e169 authored almost 6 years ago
Add --unwindlib=[libgcc|compiler-rt] to parallel --rtlib= [take 2]

"clang++ hello.cc --rtlib=compiler-rt"

now can works without specifying additional unwind or ex...

344aa82a52f2fae527f58284567ae305a314f7a8 authored almost 6 years ago
Move options to separate checks that do not need to immediately follow the previous option. NFCI

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

98a21c18f23597a8fb89d89a33888fa72a74b28d authored almost 6 years ago
Fix unused variable warning. NFCI.

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

176e423c0dbaf3f7a928c5debbd76e9f3c2d35cb authored almost 6 years ago
[OPENMP]Check that global vars require predefined allocator.

According to OpenMP, 2.11.3 allocate Directive, Restrictions, C / C++,
if a list item has a stat...

23e5d23710c537c358580c137a3f1ea10c425b9c authored almost 6 years ago
[OPENMP]Remove unused parameter, NFC.

Parameter CodeGenModule &CGM is not required for CGOpenMPRuntime member
functions, since class h...

40483ed1d2d7d02176e241baccc01c42464dbd11 authored almost 6 years ago
[OpenCL] Minor improvements in default header testing

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

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

e41da8a0d3f410693bd7e5ae6f7c32c8369194c1 authored almost 6 years ago
[Sema] Adjust addr space of reference operand in compound assignment

When we create overloads for the builtin compound assignment operators
we need to preserve addre...

32be13ac51be3fffbc4a5888a989c2073e002885 authored almost 6 years ago
[OPENMP] Codegen for local variables with the allocate pragma.

Added initial codegen for the local variables with the #pragma omp
allocate directive. Instead o...

eaba54eacac4dc55ecd5a5bd8b32d3cc679542e6 authored almost 6 years ago
Ensure that const variables declared at namespace scope correctly have external linkage when marked as dllexport and targeting the MSVC ABI.

Patch thanks to Zahira Ammarguellat.

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

7879e0e4c7ec13d63d75202b91fac028e4088f29 authored almost 6 years ago