summaryrefslogtreecommitdiffstats
path: root/clang/tools
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP] Initial parsing and sema analysis for clause 'seq_cst' of 'atomic' ↵Alexey Bataev2014-07-241-0/+2
| | | | | | directive. llvm-svn: 213846
* [OPENMP] Initial parsing and sema analysis for clause 'capture' in 'atomic' ↵Alexey Bataev2014-07-241-0/+2
| | | | | | directive. llvm-svn: 213842
* [OPENMP] Initial parsing and sema analysis for 'update' clause of 'atomic' ↵Alexey Bataev2014-07-231-0/+2
| | | | | | directive. llvm-svn: 213735
* [OPENMP] Initial parsing an sema analysis for 'write' clause of 'atomic' ↵Alexey Bataev2014-07-231-0/+2
| | | | | | directive. llvm-svn: 213728
* [OPENMP] Initial parsing and sema analysis for 'read' clause in 'atomic' ↵Alexey Bataev2014-07-231-0/+2
| | | | | | directive. llvm-svn: 213717
* [OPENMP] Initial parsing and sema analysis for 'atomic' directive.Alexey Bataev2014-07-222-0/+10
| | | | llvm-svn: 213639
* [OPENMP] Initial parsing and sema analysis for 'ordered' directive.Alexey Bataev2014-07-222-0/+10
| | | | llvm-svn: 213616
* clang-format vs plugin: set version number from cmake (PR20307)Hans Wennborg2014-07-212-4/+11
| | | | | | | | | | | | | | | Previously it was hard-coded to 1.0, which meant the installer would not install the plugin over previous versions. This commit makes us use LLVM's major.minor.patch version from cmake, or whatever CLANG_FORMAT_VS_VERSION is set to when configuring the build. It's pretty dirty to update a configuration file in the source directory from the cmake build like this. However, the plugin build is already dirty in this regard since it builds in the source dir when visual studio, and then copies out the resulting vsix. llvm-svn: 213584
* [OPENMP] Initial parsing and sema analysis for 'flush' directive.Alexey Bataev2014-07-212-0/+13
| | | | llvm-svn: 213512
* [OPENMP] Parsing/Sema of the OpenMP directive 'critical'.Alexander Musman2014-07-212-0/+13
| | | | llvm-svn: 213510
* [OPENMP] Initial parsing and sema analysis for 'taskwait' directive.Alexey Bataev2014-07-182-0/+10
| | | | llvm-svn: 213363
* [OPENMP] Initial parsing and sema analysis for 'barrier' directive.Alexey Bataev2014-07-182-0/+10
| | | | llvm-svn: 213360
* [OPENMP] Initial parsing and sema analysis of 'taskyield' directive.Alexey Bataev2014-07-182-0/+11
| | | | llvm-svn: 213355
* Revert "unique_ptr-ify ownership of ASTConsumers"David Blaikie2014-07-172-8/+8
| | | | | | | | | This reverts commit r213307. Reverting to have some on-list discussion/confirmation about the ongoing direction of smart pointer usage in the LLVM project. llvm-svn: 213325
* unique_ptr-ify ownership of ASTConsumersDavid Blaikie2014-07-172-8/+8
| | | | | | | | | (after fixing a bug in MultiplexConsumer I noticed the ownership of the nested consumers was implemented with raw pointers - so this fixes that... and follows the source back to its origin pushing unique_ptr ownership up through there too) llvm-svn: 213307
* [OPENMP] Initial parsing and sema analysis of 'mergeable' clause.Alexey Bataev2014-07-171-0/+2
| | | | llvm-svn: 213262
* [OPENMP] Initial support for parsing and sema analysis of 'untied' clause.Alexey Bataev2014-07-171-0/+2
| | | | llvm-svn: 213257
* [OPENMP] Parsing/Sema analysis of directive 'master'Alexander Musman2014-07-172-0/+10
| | | | llvm-svn: 213237
* Consistency on the tab/spaceSylvestre Ledru2014-07-171-18/+18
| | | | llvm-svn: 213236
* Fix Bug 14061 - scan-build crashes during postprocessing if BUGFILE no ↵Sylvestre Ledru2014-07-171-0/+4
| | | | | | | | | | longer exists Experienced with Thunderbird build Patch by Matti Niemenmaa llvm-svn: 213235
* [OPENMP] Initial parsing and sema analysis for 'final' clause.Alexey Bataev2014-07-171-0/+4
| | | | llvm-svn: 213232
* Make clang's rewrite engine a core featureAlp Toker2014-07-1610-21/+13
| | | | | | | | | | | | | | | The rewrite facility's footprint is small so it's not worth going to these lengths to support disabling at configure time, particularly since key compiler features now depend on it. Meanwhile the Objective-C rewriters have been moved under the ENABLE_CLANG_ARCMT umbrella for now as they're comparatively heavy and still potentially worth excluding from lightweight builds. Tests are now passing with any combination of feature flags. The flags historically haven't been tested by LLVM's build servers so caveat emptor. llvm-svn: 213171
* Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt.NAKAMURA Takumi2014-07-151-1/+0
| | | | | | I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill. llvm-svn: 213064
* Define ENABLE_CLANG_ARCMT in the legacy build system tooAlp Toker2014-07-141-0/+4
| | | | llvm-svn: 213010
* Fix the !CLANG_ENABLE_ARCMT buildAlp Toker2014-07-143-10/+28
| | | | llvm-svn: 212995
* Fix typosAlp Toker2014-07-142-2/+2
| | | | | | Also consolidate 'backward compatibility' llvm-svn: 212974
* [OPENMP] Parsing and sema analysis for 'omp task' directive.Alexey Bataev2014-07-112-0/+10
| | | | llvm-svn: 212804
* Remove dead code from r212620Alp Toker2014-07-091-35/+3
| | | | llvm-svn: 212622
* cc1as: consolidate option flags with cc1 and eliminate duplicationAlp Toker2014-07-091-12/+48
| | | | | | | | | | The clang -cc1as options are nearly a strict subset of -cc1. Instead of duplicating the definitions and documentation, let's go ahead and share the definitions in a similar way the current handling of combined driver and frontend flags, eliminating some of the vestigial legacy surrounding the assembler subcommand. llvm-svn: 212620
* [OPENMP] Parsing and sema analysis for 'omp parallel sections' directive.Alexey Bataev2014-07-082-0/+11
| | | | llvm-svn: 212516
* libclang: pass return code out argument by referenceAlp Toker2014-07-072-19/+16
| | | | | | | | r212427 formalized the message-passing pattern by making these argument structures const. This commit changes output arguments to get passed by reference so we can eliminate mutable fields. llvm-svn: 212497
* Driver: Produce crash diagnostics more often on WindowsReid Kleckner2014-07-071-2/+7
| | | | | | | | | | | | | Assertion failures call abort(), which return an exit code of 3 on Windows. The 'not' utility has the same check. Unfortunately, the crash-report.c test requires a shell, so it does not run for me locally, so I can only test this manually. There's still more work to be done here: we should generate a batch script instead of a shell script on Windows. llvm-svn: 212481
* [OPENMP] Added initial support for 'omp parallel for'.Alexey Bataev2014-07-072-0/+11
| | | | llvm-svn: 212453
* Switch over a few uses of param_begin() to parameters()Alp Toker2014-07-071-2/+2
| | | | llvm-svn: 212442
* Peel away old-style file remapping typedefs and cruftAlp Toker2014-07-071-4/+2
| | | | llvm-svn: 212438
* libclang: refactor handling of unsaved_filesAlp Toker2014-07-074-86/+83
| | | | | | | Consolidate CXUnsavedFile argument handling in API functions to support a wider cleanup of various file remapping schemes in the frontend. llvm-svn: 212427
* Add an AST node for __leave statements, hook it up.Nico Weber2014-07-072-0/+6
| | | | | | | Codegen is still missing (and I won't work on that), but __leave is now as implemented as __try and friends. llvm-svn: 212425
* Update for llvm api change.Rafael Espindola2014-07-063-17/+19
| | | | llvm-svn: 212408
* libclang: make darwin pthread hacks conditional on LLVM_ENABLE_THREADSAlp Toker2014-07-061-5/+8
| | | | | | | | Although these aren't strictly related to LLVM's core threading, it's reasonable to avoid pthread usage in clang when building with LLVM_ENABLE_THREADS disabled. llvm-svn: 212395
* Track IntrusiveRefCntPtr::get() changes from LLVM r212366Alp Toker2014-07-052-6/+6
| | | | llvm-svn: 212369
* driver: add link dependency on CodeGenAlp Toker2014-07-011-0/+1
| | | | | | | | | | Fix the build when no targets are enabled. This dependency is incurred by two unfortunate entries in LinkAllPasses.h included from cc1_main.cpp: llvm::createJumpInstrTablesPass(); llvm::createCodeGenPreparePass(); llvm-svn: 212084
* Remove llvm:: from uses of ArrayRef.Craig Topper2014-06-281-1/+1
| | | | llvm-svn: 211987
* Remove 'const' from MemoryBuffers used through the SourceManagerDavid Blaikie2014-06-274-9/+9
| | | | | | | | | | | | | | This removes a const_cast added in r211884 that occurred due to an inconsistency in how MemoryBuffers are handled between some parts of clang and LLVM. MemoryBuffers are immutable and the general convention in the LLVM project is to omit const from immutable types as it's simply redundant/verbose (see llvm::Type, for example). While this change doesn't remove "const" from /every/ MemoryBuffer, it at least makes this chain of ownership/usage consistent. llvm-svn: 211915
* Fix a bug in my previous patch by restoring the behavior that the fatalChandler Carruth2014-06-271-1/+14
| | | | | | | | | | | | | | error handler is only registered once. To avoid the use of std::call_once (the obvious way to do this) I've wrapped everything up into a managed static and done the work in a constructor. Silly, but it should be effective. Some out-of-tree libclang users reported this to me, and I've asked them to put together a test case which exhibits this behavior, but I wanted to fix things ASAP since the nature of the fix is straight forward. llvm-svn: 211905
* This fixes libclang to cope with the now compile-time multithreadedChandler Carruth2014-06-271-13/+5
| | | | | | | | | selection re-enabled in r211900 in LLVM. The approach (unlike r211121) doesn't rely on std::mutex or std::call_once to avoid breaknig cygwin bots. llvm-svn: 211901
* [OPENMP] Parsing and sema analysis for 'copyprivate' clause.Alexey Bataev2014-06-271-0/+4
| | | | llvm-svn: 211886
* [OPENMP] Initial parsing and sema analysis for 'single' directive.Alexey Bataev2014-06-262-0/+10
| | | | llvm-svn: 211774
* [OPENMP] Initial parsing and sema analysis for 'section' directive.Alexey Bataev2014-06-262-0/+10
| | | | llvm-svn: 211767
* [OPENMP] Initial support for 'sections' directive.Alexey Bataev2014-06-252-0/+10
| | | | llvm-svn: 211685
* Revert r211121 (and r211285), "Change libclang initialization to use ↵NAKAMURA Takumi2014-06-241-9/+12
| | | | | | | | std::call_once instead of" It broke mingw builder and cygwin-clang stage2, possibly lack of tls in <mutex>. llvm-svn: 211593
OpenPOWER on IntegriCloud