"git@repo.hca.bsc.es:rferrer/llvm-epi.git" did not exist on "f150ace6cb8def11345f445ccaef9a1e305ee799"
- May 15, 2013
-
-
David Blaikie authored
BitVector/SmallBitVector::reference::operator bool remain implicit since they model more exactly a bool, rather than something else that can be boolean tested. The most common (non-buggy) case are where such objects are used as return expressions in bool-returning functions or as boolean function arguments. In those cases I've used (& added if necessary) a named function to provide the equivalent (or sometimes negative, depending on convenient wording) test. One behavior change (YAMLParser) was made, though no test case is included as I'm not sure how to reach that code path. Essentially any comparison of llvm::yaml::document_iterators would be invalid if neither iterator was at the end. This helped uncover a couple of bugs in Clang - test cases provided for those in a separate commit along with similar changes to `operator bool` instances in Clang. llvm-svn: 181868
-
- Feb 15, 2013
-
-
Benjamin Kramer authored
llvm-svn: 175264
-
- Jan 11, 2013
-
-
Jordan Rose authored
Right now, only OS X has a way to determine the column width of a string (PR14910). Until we have a good way to deal with this, we just won't print carets, source ranges, or fixits for SMDiagnostic if the source line has multibyte characters in it. llvm-svn: 172164
-
- Jan 10, 2013
-
-
Jordan Rose authored
Like Clang's FixItHint, SMFixIt represents an insertion, replacement, or removal of source text. One or more fix-its can be emitted as part of a diagnostic, and will be printed below the source range line to show the user how they can fix their code. Currently, the only client of SMFixIt is clang-tblgen; thus, the tests for this behavior live in clang/test/TableGen/tg-fixits.td. If/when SMFixIt is adopted within LLVM itself, those tests should be moved to the LLVM suite. llvm-svn: 172086
-
- Jan 07, 2013
-
-
Jordan Rose authored
This is necessary not only for representing empty ranges, but for handling multibyte characters in the input. (If the end pointer in a range refers to a multibyte character, should it point to the beginning or the end of the character in a char array?) Some of the code in the asm parsers was already assuming this anyway. llvm-svn: 171765
-
- Dec 03, 2012
-
-
Chandler Carruth authored
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
-
- Jul 20, 2012
-
-
Daniel Dunbar authored
color. llvm-svn: 160559
-
- May 07, 2012
-
-
Matt Beaumont-Gay authored
Fixes a -Woverflow warning from gcc when building for 32-bit platforms. llvm-svn: 156313
-
- May 06, 2012
-
-
Chris Lattner authored
llvm-svn: 156260
-
Chris Lattner authored
of work for a drive-by fix :) llvm-svn: 156246
-
Chris Lattner authored
llvm-svn: 156245
-
- May 05, 2012
-
-
Chris Lattner authored
refactor some code to expose column numbers more and make diagnostic printing slightly more efficient. llvm-svn: 156243
-
- Apr 18, 2012
-
-
Benjamin Kramer authored
Same color scheme as clang uses. The colors are only enabled if the output is a tty. llvm-svn: 155035
-
- Jan 17, 2012
-
-
David Blaikie authored
Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly. (This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them) llvm-svn: 148262
-
- Oct 16, 2011
-
-
Chris Lattner authored
llvm-svn: 142108
-
Chris Lattner authored
string, pass it around as an enum. llvm-svn: 142107
-
Chris Lattner authored
the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. llvm-svn: 142106
-
- Jun 01, 2011
-
-
Joerg Sonnenberger authored
llvm-svn: 132395
-
- Dec 16, 2010
-
-
Michael J. Spencer authored
llvm-svn: 121958
-
- Dec 09, 2010
-
-
Michael J. Spencer authored
llvm-svn: 121382
-
Michael J. Spencer authored
llvm-svn: 121379
-
- Nov 17, 2010
-
-
Chris Lattner authored
cookie argument to the SourceMgr diagnostic stuff. This cleanly separates LLVMContext's inlineasm handler from the sourcemgr error handling definition, increasing type safety and cleaning things up. llvm-svn: 119486
-
- Sep 27, 2010
-
-
Benjamin Kramer authored
llvm-svn: 114847
-
- Apr 06, 2010
-
-
Chris Lattner authored
Add a simplified constructor for clients that don't have locations like "file not found" errors. llvm-svn: 100538
-
Chris Lattner authored
llvm-svn: 100504
-
Chris Lattner authored
diagnostic handler. llvm-svn: 100503
-
- Jan 27, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 94672
-
Mikhail Glushenkov authored
llvm-svn: 94671
-
- Jan 21, 2010
-
-
Dan Gohman authored
llvm-svn: 94071
-
- Nov 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 89627
-
- Aug 11, 2009
-
-
Chris Lattner authored
FindLineNumber much faster when in sequence. llvm-svn: 78693
-
- Jul 03, 2009
-
-
Chris Lattner authored
llvm-svn: 74735
-
Chris Lattner authored
it to print them. This gives us column numbers in the diag line. Before: t.s:4: error: unexpected token in argument list mov %eax %edx ^ now: t.s:4:11: error: unexpected token in argument list mov %eax %edx ^ llvm-svn: 74732
-
- Jun 30, 2009
-
-
Daniel Dunbar authored
- Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489
-
- Jun 21, 2009
-
-
Chris Lattner authored
llvm-svn: 73861
-
Chris Lattner authored
llvm-svn: 73845
-
Chris Lattner authored
llvm-svn: 73844
-
Chris Lattner authored
llvm-svn: 73843
-
Chris Lattner authored
llvm-svn: 73842
-
- Mar 26, 2009
-
-
Jim Grosbach authored
llvm-svn: 67758
-