- Sep 10, 2013
-
-
http://llvm.org/PR17144Alexander Kornienko authored
Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1639 llvm-svn: 190408
-
Alexander Kornienko authored
Summary: This also unifies the handling of escaped newlines for all tokens. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1638 llvm-svn: 190405
-
Daniel Jasper authored
Before: typedef typeof(int(int, int)) * MyFunc; After: typedef typeof(int(int, int)) *MyFunc; This fixes llvm.org/PR17178. llvm-svn: 190401
-
Daniel Sanders authored
The dotp_[su].b instructions never existed in any revision of the MSA spec. llvm-svn: 190399
-
Alexander Kornienko authored
Summary: This fixes various issues with mixed tabs and spaces handling, e.g. when realigning block comments. Reviewers: klimek, djasper Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1608 llvm-svn: 190395
-
Alexey Samsonov authored
llvm-svn: 190394
-
Stepan Dyatkovskiy authored
llvm-svn: 190393
-
Stepan Dyatkovskiy authored
PR16752: 'mode' attribute for unusual targets doesn't work properly Description: Troubles could be happened due to some assumptions in handleModeAttr function (see SemaDeclAttr.cpp). For example, it assumes that 32 bit integer is 'int', while it could be 16 bit only. Instead of asking target: 'which type do you want to use for int32_t ?' it just hardcodes general opinion. That doesn't looks pretty correct. Please consider the next solution: 1. In Basic/TargetInfo add getIntTypeByWidth and getRealTypeByWidth methods. Methods asks target for proper type for given bit width. 2. Fix handleModeAttr according to new methods in TargetInfo. Fixes: 1st Commit (Done): Add new methods for TargetInfo: getRealTypeByWidth and getIntTypeByWidth for ASTContext names are almost same(invokes new methods from TargetInfo): getIntTypeForBitwidth and getRealTypeForBitwidth 2nd Commit (Current): Fix SemaDeclAttr, handleModeAttr function. llvm-svn: 190391
-
David Tweed authored
llvm-svn: 190390
-
Craig Topper authored
Enabling sse4.2 will implicitly enable popcnt unless popcnt is explicitly disabled. Disabling sse4.2 will not disable popcnt if popcnt is explicitly enabled. llvm-svn: 190387
-
Nick Lewycky authored
for the copy assignment operator. llvm-svn: 190385
-
Eli Friedman authored
This patch does a few different things. This patch improves unused var diags for const vars: we no longer unconditionally suppress diagnostics for const vars, instead only suppressing the diagnostic when the declaration appears to be useful. This patch also makes us more consistently use whether a variable/function is declared in the main file to suppress diagnostics where appropriate. Fixes <rdar://problem/14907887>. llvm-svn: 190382
-
Hans Wennborg authored
This allows for navigating to errors within the MSVC IDE by clicking on the diagnostics. llvm-svn: 190378
-
Reid Kleckner authored
Summary: Calling conventions are inherited during decl merging. Before this change, deduction would fail due to a type mismatch between the template and the specialization. This change adjusts the CCs to match before deduction, and lets the decl merging logic diagnose mismatch or inherit the CC from the template. This allows specializations of static member function templates in the Microsoft C++ ABI. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1570 llvm-svn: 190377
-
Fariborz Jahanian authored
annotation on methods which return typedef of pointer to an incomplete struct type. llvm-svn: 190372
-
Aaron Ballman authored
llvm-svn: 190370
-
Aaron Ballman authored
llvm-svn: 190369
-
Aaron Ballman authored
Attribute tablegen now understands that attribute arguments can be optional. This allows for automated checking of the number of arguments expected vs number of arguments given for attributes. Greatly reduces the amount of manual checking required. llvm-svn: 190368
-
- Sep 09, 2013
-
-
Matt Beaumont-Gay authored
The predicates in CXXRecordDecl which test various properties of special members can't be called on incomplete decls. llvm-svn: 190353
-
Fariborz Jahanian authored
message sent to aggregate-valued methods. Fix visibility of trampoline type used in translation of such expressions. // rdar://14932320 llvm-svn: 190341
-
Sean Silva authored
It was really hard to tell that modules are experimental. This makes it really clear by * Noting the experimental status in the title. * Moving the "warning" above the table of contents. llvm-svn: 190340
-
Sean Silva authored
Half the internet has wildly incorrect ideas about what LLVM is (in particular, many get the impression that LLVM is some magical cross-platform runtime), so saying "LLVM" near "cross-compilation" in a user-facing doc might provoke confusion. llvm-svn: 190338
-
Sean Silva authored
Last I heard LSan is getting close to prime-time, but for now keep LeakSanitizer.rst hidden (especially since it contains so little content). llvm-svn: 190337
-
Sean Silva authored
llvm-svn: 190336
-
Sean Silva authored
llvm-svn: 190333
-
Hans Wennborg authored
Apparently folks run into this (PR17097). The flag is not supported by MSVC either, but we should parse it so we don't get confused when it occurs. This changes the clang-cl output for "clang-cl /c /o foo.obj" from: clang-cl.exe: error: no such file or directory: '/o' clang-cl.exe: error: no such file or directory: 'foo.obj' to: clang-cl.exe: warning: argument unused during compilation: '/o bajs.obj' llvm-svn: 190323
-
Ted Kremenek authored
llvm-svn: 190316
-
Richard Smith authored
it is an implicit instantiation of a class template specialization), pick the first-loaded definition to be the canonical definition, and merge all other definitions into it. This is still rather incomplete -- we need to extend every form of declaration that can appear within a CXXRecordDecl to be redeclarable if it came from an AST file (this includes fields, enumerators, ...). llvm-svn: 190315
-
Benjamin Kramer authored
llvm-svn: 190314
-
Benjamin Kramer authored
PR17105. llvm-svn: 190312
-
Benjamin Kramer authored
Noticed by Roman Divacky. llvm-svn: 190311
-
Aaron Ballman authored
llvm-svn: 190305
-
Aaron Ballman authored
Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. llvm-svn: 190303
-
David Tweed authored
"long long" which is currently technically only "reserved for future" use in OpenCL, but since clang in OpenCL mode supports it we may as well test the modifications to the settings made for that type. llvm-svn: 190297
-
David Tweed authored
languages, as well as specifying errno is not set by the math functions. Make the clang front-end set those appropriately when the OpenCL language option is set. Patch by Erik Schnetter! llvm-svn: 190296
-
Stepan Dyatkovskiy authored
-- For TargetInfo::getRealTypeByWidth also added support for IEEEQuad float type. llvm-svn: 190294
-
Richard Smith authored
name lookup from lazily deserializing the other declarations with the same name, by tracking a bit to indicate whether a name in a DeclContext might have additional external results. This also allows lazier reconciling of the lookup table if a module import adds decls to a pre-existing DC. However, this exposes a pre-existing bug, which causes a regression in test/Modules/decldef.mm: if we have a reference to a declaration, and a later-imported module adds a redeclaration, nothing causes us to load that redeclaration when we use or emit the reference (which can manifest as a reference to an undefined inline function, a use of an incomplete type, and so on). decldef.mm has been extended with an additional testcase which fails with or without this change. llvm-svn: 190293
-
-
Jiangning Liu authored
SADDL, UADDL, SADDW, UADDW, SSUBL, USUBL, SSUBW, USUBW, ADDHN, RADDHN, SABAL, UABAL, SUBHN, RSUBHN, SABDL, UABDL, SMLAL, UMLAL, SMLSL, UMLSL, SQDMLAL, SQDMLSL, SMULL, UMULL, SQDMULL, PMULL llvm-svn: 190289
-
- Sep 08, 2013
-
-
Renato Golin authored
llvm-svn: 190281
-