- Jun 06, 2013
-
-
Daniel Jasper authored
The leading "}" in the construct "} else if (..) {" was confusing the expression parser. Thus, no fake parentheses were generated and the indentation was broken in some cases. llvm-svn: 183393
-
Alexey Samsonov authored
llvm-svn: 183392
-
Alexey Samsonov authored
llvm-svn: 183391
-
Alexey Samsonov authored
llvm-svn: 183390
-
Daniel Jasper authored
Before: return (my_int) aaaa; template <> void f<int>(int i)SOME_ANNOTATION; f("aaaa" SOME_MACRO(aaaa)"aaaa"); After: return (my_int)aaaa; template <> void f<int>(int i) SOME_ANNOTATION; f("aaaa" SOME_MACRO(aaaa) "aaaa"); llvm-svn: 183389
-
Richard Smith authored
must be initialized by a constant expression (not just a core constant expression), because we're going to emit it as a global. Core issue for this is pending. llvm-svn: 183388
-
Alexey Samsonov authored
llvm-svn: 183387
-
Bill Wendling authored
llvm-svn: 183385
-
Richard Trieu authored
llvm-svn: 183372
-
NAKAMURA Takumi authored
FIXME: Is it false alarm? llvm-svn: 183371
-
NAKAMURA Takumi authored
llvm-svn: 183370
-
NAKAMURA Takumi authored
llvm-svn: 183369
-
Jordan Rose authored
We based decisions during analysis and during path generation on whether or not an expression is consumed, so if a top-level expression has cleanups it's important for us to look through that. <rdar://problem/14076125> llvm-svn: 183368
-
Jordan Rose authored
You can now dump a single PathDiagnosticPiece or PathDiagnosticLocation. llvm-svn: 183367
-
NAKAMURA Takumi authored
clang/unittests/Format/FormatTest.cpp: Suppress utf8 literals with _MSC_VER. MS cl.exe is unaware of BOM-less utf8 source files. FIXME: Encode Cyrillic and CJK characters below to appease MS compilers. llvm-svn: 183366
-
Bill Wendling authored
llvm-svn: 183365
-
rdar://problem/14064994Enrico Granata authored
Fixing a test case to correctly check that the class name has changed instead of relying on GetValueDidChange() llvm-svn: 183364
-
Jakub Staszak authored
llvm-svn: 183363
-
Sean Silva authored
llvm-svn: 183362
-
Bill Wendling authored
Caching it as a pointer allows us to reset it if the TargetMachine object changes. llvm-svn: 183361
-
Jakub Staszak authored
llvm-svn: 183360
-
Anna Zaks authored
When processing ArrayToPointerDecay, we expect the array to be a location, not a LazyCompoundVal. Special case the rvalue arrays by using a location to represent them. This case is handled similarly elsewhere in the code. Fixes PR16206. llvm-svn: 183359
-
Jordan Rose authored
We previously asserted that there was a top-level function entry edge, but if the function decl's location is invalid (or within a macro) this edge might not exist. Change the assertion to an actual check, and don't drop the first path piece if it doesn't match. <rdar://problem/14070304> llvm-svn: 183358
-
Jordan Rose authored
The edge optimizer needs to see edges for, say, implicit casts (which have the same source location as their operand) to uniformly simplify the entire path. However, we still don't want to produce edges from a statement to /itself/, which could occur when two nodes in a row have the same statement location. This necessitated moving the check for redundant notes to after edge optimization, since the check relies on notes being adjacent in the path. <rdar://problem/14061675> llvm-svn: 183357
-
Bill Wendling authored
The TargetLoweringInfo object is owned by the TargetMachine. In the future, the TargetMachine object may change, which may also change the TargetLoweringInfo object. llvm-svn: 183356
-
Eric Christopher authored
integrated assembler then go ahead and still split the dwarf anyhow. Add two tests, one to exercise existing behavior of not splitting when we're just emitting assembly files and the other to test that we split when we're not in integrated as mode. llvm-svn: 183355
-
Sean Silva authored
The previous name `Ref` is overly generic. llvm-svn: 183354
-
Sean Silva authored
A user shouldn't care about the internal state, and these methods by their very nature require asserting a predicate on the internal state. As such, they cannot be used safely without introducing hidden long-distance dependencies on the manner of construction of the BinaryRef. Use writeAsBinary(raw_ostream &) and writeAsHex(raw_ostream &) if you need to access the data in a binary or hex format. llvm-svn: 183353
-
Sean Silva authored
This hides the implementation. A future commit will remove the error-prone getHex() and getBinary() methods. llvm-svn: 183352
-
Tom Stellard authored
llvm-svn: 183351
-
Sean Silva authored
And add a doxygen comment. llvm-svn: 183350
-
Sean Silva authored
This avoids making assumptions about the data representation. llvm-svn: 183349
-
Sean Silva authored
Also, state an invariant. llvm-svn: 183348
-
Rui Ueyama authored
llvm-svn: 183347
-
Bill Wendling authored
llvm-svn: 183346
-
Sean Silva authored
Previously, yaml2coff.cpp had a writeHexData static helper function to do this, but it is generally useful functionality. Also, validate hex strings up-front to avoid running having to handle errors "deep inside" the yaml2obj code (it also gives better diagnostics than it used to). llvm-svn: 183345
-
Sean Callanan authored
- Implemented the SExt instruction, and - eliminated redundant codepaths for constant handling. Added test cases. <rdar://problem/13244258> <rdar://problem/13955820> llvm-svn: 183344
-
- Jun 05, 2013
-
-
Vincent Lejeune authored
Previously commited @183279 but tests were failing, reverted @183286 It was broken because @183336 was missing, now it's there. llvm-svn: 183343
-
Sean Silva authored
llvm-svn: 183342
-
Sean Silva authored
llvm-svn: 183341
-