summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* ObjectiveC migrator: This patch sets access propertyFariborz Jahanian2013-11-144-42/+44
| | | | | | attributes on 'readonly' properties. // rdar://15460787 llvm-svn: 194718
* [OpenCL] Make sure we put string literals in the constant address space.Joey Gouly2013-11-145-4/+38
| | | | llvm-svn: 194717
* [analyzer] Treat MSVC's _wassert as noreturn.Jordan Rose2013-11-142-0/+11
| | | | | | | | This makes sure the analyzer actually honors assert() in an MSVC project. Patch by Anders Montonen! llvm-svn: 194716
* [objcmt] Introduce "objcmt-white-list-dir-path=" option.Argyrios Kyrtzidis2013-11-1411-6/+84
| | | | | | | This options accepts a path to a directory, collects the filenames of the files it contains, and the migrator will only modify files with the same filename. llvm-svn: 194710
* [objcmt] -objcmt-atomic-property & -objcmt-ns-nonatomic-iosonly are ↵Argyrios Kyrtzidis2013-11-141-3/+7
| | | | | | | | companion flags. Ignore them when determining if some transformation was enabled. llvm-svn: 194709
* Move classes into anonymous namespaces.Benjamin Kramer2013-11-141-0/+4
| | | | llvm-svn: 194706
* [Mips] Add tests for MIPS/MIPS64 type defines and type limits macros. NoSimon Atanasyan2013-11-141-0/+214
| | | | | | functional changes - just reflection of the current state. llvm-svn: 194690
* Remove a test failure.Kevin Qin2013-11-141-4/+0
| | | | llvm-svn: 194678
* Add test case for AArch64 NEON poly64 intrinsic.Kevin Qin2013-11-141-0/+287
| | | | llvm-svn: 194674
* Add test cases for AArch64 NEON instruction set misc.Kevin Qin2013-11-141-0/+1951
| | | | llvm-svn: 194672
* Revert r194663 and r194647.Ted Kremenek2013-11-142-23/+0
| | | | | | Per feedback from Jordan Rose I realized this wasn't the right way to go. llvm-svn: 194664
* Refine -Wunused-variable to only suppress warning for __bridge_transfer, not ↵Ted Kremenek2013-11-142-20/+9
| | | | | | | | | all bridge casts. Also refine test case to capture the intention of this suppression. Essentially some developers use __bridge_transfer as if it were a safe CFRelease. llvm-svn: 194663
* [AArch64 neon] support poly64 and relevant intrinsic functions.Kevin Qin2013-11-146-49/+82
| | | | llvm-svn: 194660
* Implement aarch64 neon instruction class misc.Kevin Qin2013-11-144-1/+437
| | | | llvm-svn: 194657
* Added warning on structures/unions that are empty or contain onlySerge Pavlov2013-11-149-36/+85
| | | | | | | | | | bit fields of zero size. Warnings are generated in C++ mode and if only such type is defined inside extern "C" block. The patch fixed PR5065. Differential Revision: http://llvm-reviews.chandlerc.com/D2151 llvm-svn: 194653
* Implement AArch64 NEON instruction set AdvSIMD (table).Jiangning Liu2013-11-144-14/+737
| | | | llvm-svn: 194649
* Suppress -Wunused-variable when initializer uses bridge casts for memory ↵Ted Kremenek2013-11-142-0/+34
| | | | | | | | management. Fixes <rdar://problem/15432770>. llvm-svn: 194647
* Use a more realistic NS class names in Fariborz Jahanian2013-11-141-8/+8
| | | | | | | objc_bridge attributes in my previous test. Per Jordan's comment. llvm-svn: 194645
* ObjectiveC ARC. objc_bridge attribute should be applied toFariborz Jahanian2013-11-142-13/+12
| | | | | | toll-free bridging cf types only. // rdar//15454846 wip. llvm-svn: 194640
* Work around a bug in old gcc on the FreeBSD bot, which complains aboutDmitri Gribenko2013-11-141-3/+3
| | | | | | ambiguity between index() function and clang::index namespace. llvm-svn: 194638
* ObjectiveC ARC. Introduce a new attribute, 'objc_bridge'Fariborz Jahanian2013-11-134-0/+98
| | | | | | | that teaches the compiler about a subset of toll-free bridging semantics. This is wip. // rdar://15454846 llvm-svn: 194633
* [objcmt] If no objcmt options were specified, default to enable ↵Argyrios Kyrtzidis2013-11-131-1/+8
| | | | | | literals+subscripting. llvm-svn: 194629
* [objcmt] Transfer the objcmt flags from the driver to cc1 invocation andArgyrios Kyrtzidis2013-11-132-1/+15
| | | | | | instantiate ObjCMigrateASTConsumer with the specific options that were enabled. llvm-svn: 194628
* [objcmt] If the frontend option is frontend::MigrateSource then we don't ↵Argyrios Kyrtzidis2013-11-131-20/+22
| | | | | | | | need to create the arcmt wrappers. llvm-svn: 194627
* Don't use alias from derived dtor to base dtor at -O0.Rafael Espindola2013-11-134-3/+14
| | | | | | | | | | This patch disables aliasing (and rauw) of derived dtors to base dtors at -O0. This optimization can have a negative impact on the debug quality. This was a latent bug for some time with local classes, but got noticed when it was generalized and broke gdb's destrprint.exp. llvm-svn: 194618
* -fms-extensions: Recognize _alloca as an alias for the alloca builtinReid Kleckner2013-11-133-0/+11
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1989 llvm-svn: 194617
* Only provide MS builtins when -fms-extensions is onReid Kleckner2013-11-136-8/+29
| | | | | | | | | | | We already have builtins that are only available in GNU mode, so this mirrors that. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D2128 llvm-svn: 194615
* libclang does not depend directly on clangFormat; but clangIndex doesDmitri Gribenko2013-11-132-1/+1
| | | | llvm-svn: 194611
* Documentation parsing: move comment-to-XML conversion routines to libIndexDmitri Gribenko2013-11-138-1121/+1221
| | | | llvm-svn: 194610
* No functional change. Renaming a variable in RecordLayoutBuilder and Warren Hunt2013-11-133-19/+25
| | | | | | | | improving comments to make documentation more accurate. Differential Revision:http://llvm-reviews.chandlerc.com/D2172 llvm-svn: 194609
* Add test case for r194593Weiming Zhao2013-11-131-0/+15
| | | | llvm-svn: 194606
* Make inline functions in a header file static.Dmitri Gribenko2013-11-131-6/+6
| | | | llvm-svn: 194603
* [AArch64] Tests for legacy AArch32 NEON scalar shift by immediate instructions.Chad Rosier2013-11-132-9/+86
| | | | | | | A number of non-overloaded intrinsics have been replaced by thier overloaded counterparts. llvm-svn: 194599
* Drop windows specific handling of equivalent destructors.Rafael Espindola2013-11-131-9/+0
| | | | | | | | | Now that the relevant tests use -mconstructor-aliases and the missing features have been implemented, we can just drop this. No functionality change. llvm-svn: 194595
* Adds ARM backend options: -mrestrict-it and -mno-restrict-itWeiming Zhao2013-11-132-0/+15
| | | | | | | To support the generation of IT block in Thumbv7 way or Thumbv8 way llvm-svn: 194593
* [objcmt] Use FileIDs directly instead of their hash value.Argyrios Kyrtzidis2013-11-131-15/+15
| | | | | | No functionality change. llvm-svn: 194590
* No need to use CGM.getCXXABI() from CXXABITimur Iskhodzhanov2013-11-131-4/+4
| | | | llvm-svn: 194584
* Correctly mark first token in the presence of UTF-8 BOM.Alexander Kornienko2013-11-132-3/+12
| | | | | | | | | | | | | | Summary: Fixes http://llvm.org/PR17753 Reviewers: klimek Reviewed By: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2159 llvm-svn: 194576
* Add an optional mapping from source paths to source contents.Manuel Klimek2013-11-133-0/+68
| | | | | | | | This allows compilation database implementations for distributed build systems to hand all data to the client to make parsing independent of the file system. llvm-svn: 194571
* Add -fprofile-sample-use to Clang's driver.Diego Novillo2013-11-137-0/+30
| | | | | | | | This adds a new option -fprofile-sample-use=filename to Clang. It tells the driver to schedule the SampleProfileLoader pass and passes on the name of the profile file to use. llvm-svn: 194567
* Warn on duplicate function specifierSerge Pavlov2013-11-137-23/+121
| | | | | | | | | This patch fixes PR8264. Duplicate qualifiers already are diagnozed, now the same diagnostics is issued for duplicate function specifiers. Differential Revision: http://llvm-reviews.chandlerc.com/D2025 llvm-svn: 194559
* Fix closing namespace comment to reflect realityDmitri Gribenko2013-11-131-1/+1
| | | | llvm-svn: 194543
* PR10837: Warn if a null pointer constant is formed by a zero integer constantRichard Smith2013-11-132-2/+17
| | | | | | expression that is not a zero literal, in C. Patch by Ivan A. Kosarev! llvm-svn: 194540
* unittests/Tooling/ToolingTest.cpp: Suppress new tests on win32, due to ↵NAKAMURA Takumi2013-11-131-1/+1
| | | | | | handling of virtual file, such "/a.cc". llvm-svn: 194534
* ObjectiveC migrator. Place use of NS_NONATOMIC_IOSONLYFariborz Jahanian2013-11-136-9/+18
| | | | | | | | on inferred property attribute under -objcmt-ns-nonatomic-iosonly option. // rdar://15442742 llvm-svn: 194532
* clang-cl: parse the /Yc flag (PR17895)Hans Wennborg2013-11-122-1/+2
| | | | llvm-svn: 194523
* Documentation parsing: add support for \throws \throw \exception commandsDmitri Gribenko2013-11-127-4/+126
| | | | llvm-svn: 194521
* Avoid producing mismatched comdats.Rafael Espindola2013-11-122-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | The problem was that given template<typename T> struct foo { ~foo() {} }; template class foo<int>; We would produce a alias, creating a comdat with D0 and D1, since the symbols have to be weak. Another TU is not required to have a explicit template instantiation definition or an explict template instantiation declaration and for template<typename T> struct foo { ~foo() {} }; foo<int> a; we would produce a comdat with only one symbol in it. llvm-svn: 194520
* add intrinsics: __builtin_arm_{dmb,dsb} for ARMWeiming Zhao2013-11-123-1/+11
| | | | llvm-svn: 194513
* ObjectiveC. availability of Array/Dictionary subscriptingFariborz Jahanian2013-11-122-2/+8
| | | | | | | is further restricted in legacy runtime to deployment target of 10.7 and later. // rdar://15363492 llvm-svn: 194507
OpenPOWER on IntegriCloud