- Feb 09, 2014
-
-
Sean Silva authored
Fun fact: looking at the TableGen code (around TGParser.cpp:1166), the only difference in handling is that adjacent regular string literals are concatenated in the parser. llvm-svn: 201035
-
Sean Silva authored
Code fragments are just fancy string literals. llvm-svn: 201034
-
Sean Silva authored
They're called code fragments, but they are really multiline string literals. Just spotted this usage in a patch by Aaron using "code fragments" for holding documentation text. I remember someone bemoaning the lack of multiline string literals in TableGen, so I'm explicitly documenting that code fragments are multiline string literals. Let it be known that any use case needing multiline string literals in TableGen (such as descriptions of options, or whatnot) can use use code fragments (instead of C-style string concatenation or exceedingly long lines). E.g. class Bar<int n>; class Baz<int n>; class Doc<string desc> { string Desc = desc; } def Foo : Bar<1>, Baz<3>, Doc<[{ This Foo is a Bar, and also a Baz. It can take 3 values: * Qux * Quux * Quuux }]>; llvm-svn: 201033
-
Saleem Abdulrasool authored
llvm-svn: 201032
-
Richard Smith authored
template parameters, don't look for parameters of outer templates. If a problem is found in a default template argument, point the diagnostic at the partial specialization (with a note pointing at the default argument) instead of pointing it at the default argument and leaving it unclear which partial specialization os problematic. llvm-svn: 201031
-
Saleem Abdulrasool authored
In some cases it is possible to have a personality 0 unwinding opcodes in the extab (such as when .handlerdata is used in the assembly). Simply decode the 3 opcodes for that case. llvm-svn: 201030
-
Saleem Abdulrasool authored
This makes the tests more readable by using the -arm-attributes decoding support in llvm-readobj since that is now available. Change the invocation commands to be similar to other test and use a more precise triple (the tests only require ARM EABI support). llvm-svn: 201029
-
- Feb 08, 2014
-
-
Arnold Schwaighofer authored
Before conditional store vectorization/unrolling we had only one vectorized/unrolled basic block. After adding support for conditional store vectorization this will not only be one block but multiple basic blocks. The last block would have the back-edge. I updated the code to use a vector of basic blocks instead of a single basic block and fixed the users to use the last entry in this vector. But, I forgot to add the basic blocks to this vector! Fixes PR18724. llvm-svn: 201028
-
Jean-Daniel Dupas authored
llvm-svn: 201027
-
Jean-Daniel Dupas authored
llvm-svn: 201026
-
Rafael Espindola authored
It is never null and it is not used in casts, so there is no reason to use a pointer. This matches how we pass TM. llvm-svn: 201025
-
Sylvestre Ledru authored
llvm-svn: 201024
-
Sylvestre Ledru authored
llvm-svn: 201023
-
Rafael Espindola authored
llvm-svn: 201022
-
Marshall Clow authored
llvm-svn: 201021
-
John McCall authored
unique them and permits the implementation of dynamic_cast (and anything else which knows it's working with a complete class type) to compare their addresses directly. rdar://16005328 llvm-svn: 201020
-
Reid Kleckner authored
Summary: This avoids false positives from -Wmicrosoft when name lookup would normally succeed in standard C++. This triggered on a common CRTP pattern in clang, where a derived class would have a private using decl to pull in members of a dependent base: class Verifier : InstVisitor<Verifier> { private: using InstVisitor<Verifier>::visit; ... void anything() { visit(); // warned here } }; Real access checks pass here because we're in the context of the Verifier, but the -Wmicrosoft extension was just looking for the private access specifier. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2679 llvm-svn: 201019
-
Richard Smith authored
whether it's POD. llvm-svn: 201018
-
Reid Kleckner authored
LLVM only knows how to emit Z7-style line tables on -win32, so there's no reason for clang to emit anything other than line info. llvm-svn: 201017
-
Nick Lewycky authored
llvm-svn: 201016
-
Nick Lewycky authored
llvm-svn: 201015
-
Nick Lewycky authored
as required per core issue 1552 and warned about with -Wimplicit-exception-spec-mismatch. llvm-svn: 201014
-
Reid Kleckner authored
This was crashing compilation of DeclContext::buildLookupImpl<>. llvm-svn: 201013
-
Richard Smith authored
llvm-svn: 201012
-
John McCall authored
gross, and increasingly replaced through other mechanisms. llvm-svn: 201011
-
Dmitri Gribenko authored
ASTUnit contains code to remap files to other files on disk. This code is not used. We only remap files to MemoryBuffers. llvm-svn: 201010
-
Juergen Ributzka authored
The bitcast instruction during constant materialization was not placed correcly in the presence of phi nodes. This commit fixes the insertion point to be in the idom instead. This fixes PR18768 llvm-svn: 201009
-
Juergen Ributzka authored
This fix first traverses the whole use list of the constant expression and keeps track of the instructions that need to be updated. Then perform the fixup afterwards. llvm-svn: 201008
-
Jordan Rose authored
<rdar://problem/15999214> llvm-svn: 201007
-
Rafael Espindola authored
llvm-svn: 201006
-
Sean Callanan authored
clang -O1. <rdar://problem/15767528> llvm-svn: 201005
-
- Feb 07, 2014
-
-
Nikola Smiljanic authored
- Properly displaying non null terminated StringRef. - Auto expanding pointer types. - Displaying real type names for PointerUnions. - Using "size" and "capacity" across all containers. - Simplifying code where possible. llvm-svn: 201004
-
Greg Clayton authored
ObjectFile::SetLoadAddress (Target &target, lldb::addr_t value, bool value_is_offset); Now "value" is a slide if "value_is_offset" is true, and "value" is an image base address otherwise. All previous usage of this API was using slides. Updated the ObjectFileELF and ObjectFileMachO SetLoadAddress methods to do the right thing. Also updated the ObjectFileMachO::SetLoadAddress() function to not load __LINKEDIT when it isn't needed and to only load sections that belong to the executable object file. llvm-svn: 201003
-
Richard Smith authored
'operator delete' or 'operator delete[]' is an explicit exception specification. Therefore we should diagnose 'void operator delete(void*)' instead of 'void operator delete(void*) noexcept'. This diagnostic remains an ExtWarn, since in practice people don't always include the exception specification in such a declaration. llvm-svn: 201002
-
Rafael Espindola authored
llvm-svn: 201001
-
Richard Smith authored
llvm-svn: 201000
-
Rafael Espindola authored
llvm-svn: 200999
-
Rafael Espindola authored
llvm-svn: 200998
-
Greg Clayton authored
Now that the command interpreter runs in a separate thread in Xcode, we need to lock the target API lock instead of trying to lock it. What was happening was: 1 - Xcode ran and stopped and was doing work on thread 2 2 - Users would type something in Xcode console on thread 1 3 - thread 3 would be running command interpreter thread and try to execute command but get "failed to get API lock" error for any command that wanted the target API lock (like "expression") <rdar://problem/15775016> llvm-svn: 200997
-
rdar://problem/12857181Enrico Granata authored
When a user says type formatter add ... unsigned int he most probably means to deal with the "unsigned int" type. However, given how the LLDB command parser works, that command will try to add the formatter to the TWO types 'unsigned' AND 'int' Since this is unlikely to be what the user wants, warn about it, and suggest they can use quotes to override the debugger's understanding llvm-svn: 200996
-