- Dec 24, 2012
-
-
Nick Lewycky authored
llvm-svn: 171045
-
Nick Lewycky authored
llvm-svn: 171044
-
Nick Lewycky authored
llvm-svn: 171043
-
Benjamin Kramer authored
This affords us to use std::string's allocation routines and use the destructor for the memory management. Switching to that also means that we can use operator==(const std::string&, const char *) to perform the string comparison rather than resorting to libc functionality (i.e. strcmp). Patch by Saleem Abdulrasool! Differential Revision: http://llvm-reviews.chandlerc.com/D230 llvm-svn: 171042
-
rdar://problem/12867368Bob Wilson authored
When the backend is used from clang, it should produce proper diagnostics instead of just printing messages to errs(). Other clients may also want to register their own error handlers with the LLVMContext, and the same handler should work for warnings in the same way as the existing emitError methods. llvm-svn: 171041
-
Dmitri Gribenko authored
Now we really pass -Wcovered-switch-default if the compiler supports it. llvm-svn: 171040
-
Daniel Jasper authored
Apply all formatting changes that clang-format would apply to its own source code. All choices seem to improve readability (or at least not make it worse). No functional changes. llvm-svn: 171039
-
Daniel Jasper authored
This prevents formattings like this (assuming "parameter" doesn't fit the line): bool f = someFunction() && someFunctionWithParam( parameter) && someOtherFunction(); Here, "parameter" - the start of line 2 - has a parenthesis level of 2, but there are subsequent tokens ("&&" and "someOtherFunction") with a lower level. This is bad for readability as "parameter" hides "someOtherFunction". With this patch, this changes to: bool f = someFunction() && someFunctionWithParam(parameter) && someOtherFunction(); llvm-svn: 171038
-
Dmitri Gribenko authored
llvm-svn: 171037
-
Kostya Serebryany authored
llvm-svn: 171036
-
Kostya Serebryany authored
llvm-svn: 171035
-
Dmitry Vyukov authored
llvm-svn: 171034
-
Dmitry Vyukov authored
(this breaks RPM packages) llvm-svn: 171033
-
Daniel Jasper authored
This changes: int Result = a + // force break b; return Result + // force break 5; To: int Result = a + // force break b; return Result + // force break 5; llvm-svn: 171032
-
Kostya Serebryany authored
[sanitizer] rework the size class map in the sanitizer allocator: make the differences between size classes more uniform. llvm-svn: 171031
-
Dmitry Vyukov authored
to prevent assertion failures on code like "write(-1, ...)" llvm-svn: 171030
-
NAKAMURA Takumi authored
llvm-svn: 171029
-
Daniel Jasper authored
This fixes llvm.org/pr14686. We used to add too many spaces for different versions of overloaded operator function declarations/definitions. This patch changes, e.g. operator *() {} operator >() {} operator () () {} to operator*() {} operator>() {} operator()() {} llvm-svn: 171028
-
Nadav Rotem authored
support for the insert-subvector and extract-subvector kinds. llvm-svn: 171027
-
Elena Demikhovsky authored
llvm-svn: 171026
-
Elena Demikhovsky authored
Removed "static" from "__jit_debug_descriptor" because "static" adds C++ mangling prefix to this symbol. llvm-svn: 171025
-
Nadav Rotem authored
Some x86 instructions can load/store one of the operands to memory. On SSE, this memory needs to be aligned. When these instructions are encoded in VEX (on AVX) there is no such requirement. This changes the folding tables and removes the alignment restrictions from VEX-encoded instructions. llvm-svn: 171024
-
Nadav Rotem authored
the StoreInst operands. PR14705. llvm-svn: 171023
-
Nadav Rotem authored
Change the codegen Cost Model API for shuffeles. This patch removes the API for broadcast and adds a more general API that accepts an enum of known shuffles. llvm-svn: 171022
-
Alexey Samsonov authored
llvm-svn: 171021
-
Evgeniy Stepanov authored
llvm-svn: 171020
-
Nadav Rotem authored
llvm-svn: 171016
-
NAKAMURA Takumi authored
/// \param argBegin,argEnd the arguments to evaluate and pass to the constructor llvm-svn: 171015
-
NAKAMURA Takumi authored
clang/AST/VTTBuilder.h: Prune one description in three methods, VTTBuilder::AddVTablePointer(), VTTBuilder::LayoutSecondaryVirtualPointers(), and VTTBuilder::LayoutSecondaryVirtualPointers(). [-Wdocumentation] /// \param AddressPoints - If the vtable is a construction vtable, this has the address points for it. llvm-svn: 171014
-
NAKAMURA Takumi authored
CGDecl.cpp: Prune three descriptions in two methods, CodeGenFunction::pushIrregularPartialArrayCleanup() and CodeGenFunction::pushRegularPartialArrayCleanup(). [-Wdocumentation] /// \param array - a value of type elementType* /// \param destructionKind - the kind of destruction required /// \param initializedElementCount - a value of type size_t* holding the number of successfully-constructed elements llvm-svn: 171013
-
NAKAMURA Takumi authored
DiagnosticRenderer.cpp: Prune one description in DiagnosticRenderer::emitMacroExpansions(). [-Wdocumentation] /// \param MacroSkipEnd The depth to stop skipping macro expansions. llvm-svn: 171012
-
NAKAMURA Takumi authored
llvm-svn: 171011
-
NAKAMURA Takumi authored
llvm/MC/MCMachObjectWriter.h: ComputeSymbolTable(): Prune one description in the comment. [-Wdocumentation] /// \param StringIndexMap [out] - Map from symbol names to offsets in the string table. llvm-svn: 171010
-
NAKAMURA Takumi authored
Using the file immediately after "> file 2>&1" causes weird behavior on win32. For example, "foo > %t 2>&1; FileCheck --input-file=%t" Use "foo 2>&1 | tee %t" instead. Note, mixing stdout and stderr to the same handle might cause unexpected behavior, due to buffering. llvm-svn: 171009
-
Nadav Rotem authored
The bug was in the code that detects PHIs in if-then-else block sequence. PR14701. llvm-svn: 171008
-
Daniel Jasper authored
With this patch, splitting after binary operators has a panelty corresponding to the operator's precedence. We used to ignore this and eagerly format like: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } With this patch, this becomes: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } llvm-svn: 171007
-
- Dec 23, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 171006
-
Dmitri Gribenko authored
Fixes PR14014 llvm-svn: 171005
-
Dmitri Gribenko authored
llvm-svn: 171004
-
Dmitri Gribenko authored
llvm-svn: 171003
-