summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SourceMgr: Use has_colors() instead of just is_displayed() before trying to useDaniel Dunbar2012-07-201-2/+2
| | | | | | color. llvm-svn: 160559
* raw_ostream: Add a has_colors() method.Daniel Dunbar2012-07-202-0/+9
| | | | llvm-svn: 160558
* Process: Add sys::Process::FileDescriptorHasColors().Daniel Dunbar2012-07-203-10/+20
| | | | llvm-svn: 160557
* lit: Use close_fds=True on UNIX, to avoid file descriptor pollution ofDaniel Dunbar2012-07-201-1/+5
| | | | | | subprocesses. llvm-svn: 160556
* Don't need to specify the abi as it's the default.Eric Christopher2012-07-201-1/+1
| | | | | | rdar://11842763 llvm-svn: 160554
* add a link to the libc++ websiteSylvestre Ledru2012-07-201-1/+1
| | | | llvm-svn: 160553
* Fixes an ObjC++ parse crash caused by delayed parsingFariborz Jahanian2012-07-202-1/+8
| | | | | | | | of c-functions nested in namespace in method implementations by turning off its delayed parsing until a proper solution is figured out. pr13418 llvm-svn: 160552
* CommentBriefParser: coding style fixDmitri Gribenko2012-07-201-2/+1
| | | | llvm-svn: 160551
* CommentBriefParser: use \returns if we can't find the \brief or just a plainDmitri Gribenko2012-07-203-8/+38
| | | | | | paragraph. llvm-svn: 160550
* CMake: clang should depend on clang-headers, or bin/clang would not work better.NAKAMURA Takumi2012-07-201-0/+2
| | | | llvm-svn: 160549
* Fix assertion in jump threading (PR13405).Richard Osborne2012-07-202-0/+10
| | | | | | | | GetBestDestForJumpOnUndef() assumes there is at least 1 successor, which isn't true if the block ends in an indirect branch with no successors. Fix this by bailing out earlier in this case. llvm-svn: 160546
* [asan] make sure that the crash callbacks do not get merged (Chandler's ↵Kostya Serebryany2012-07-202-22/+35
| | | | | | idea: insert an empty InlineAsm). Change the order in which the new BBs are inserted: the slow path BB is insert between old BBs, the crash BB is inserted at the end. Don't create an empty BB (introduced by recent commits). Update the test. The experimental code that does manual crash callback merge will most likely be deleted later. llvm-svn: 160544
* Don't use implicit register operands to calculate L-bit for AVX ↵Craig Topper2012-07-201-0/+2
| | | | | | instructions. Needed because super reg defs and kills are added as implicit operands on 128-bit instructions. Fixes PR13349. Patch by Jose Fonseca. llvm-svn: 160543
* Revert r160319, it caused PR13417. Add a test for PR13417.Nico Weber2012-07-204-54/+36
| | | | llvm-svn: 160542
* Let Expr::HasSideEffects() return false for NULL, bool literals, this, and ↵Nico Weber2012-07-203-1/+17
| | | | | | | | nullptr. Fixes PR13413, -Wunused-private-field now warns on unused fields initialized to NULL. llvm-svn: 160541
* Make RegisterOperand a subclass of DAGOperand so that RegisterOperands can ↵Owen Anderson2012-07-201-1/+2
| | | | | | be passed into multiclasses that take DAGOperands as multiclass parameters. llvm-svn: 160540
* Change the things we pass to Mangled::SetValue to be ConstStrings instead of Jason Molenda2012-07-201-5/+5
| | | | | | char*'s - Greg removed the methods which accept char*'s earlier today. llvm-svn: 160539
* Rename warn-unused-member.cpp to warn-unused-private-field.cpp toNico Weber2012-07-201-0/+0
| | | | | | make it match the flag it tests. llvm-svn: 160536
* Switch to the canonical pipe-based testing of clang output usingChandler Carruth2012-07-201-3/+1
| | | | | | | | FileCheck. This avoids copying files around needlessly during test runs. llvm-svn: 160535
* Remove dos line endings. Please remember to configure your windows SVNChandler Carruth2012-07-201-13/+13
| | | | | | clients to default text files to 'eol-native'. llvm-svn: 160534
* Revert r160529 due to crashes.Nick Lewycky2012-07-193-192/+9
| | | | llvm-svn: 160532
* Fix crash in machine verifier when trying to print the def of a register ↵Pete Cooper2012-07-191-0/+2
| | | | | | which has no def llvm-svn: 160531
* [analyzer] Refactor VisitObjCMessage and VisitCallExpr to rely on theAnna Zaks2012-07-195-89/+95
| | | | | | same implementation for call evaluation. llvm-svn: 160530
* Don't wipe out global variables that are probably storing pointers to heapNick Lewycky2012-07-193-9/+192
| | | | | | memory. This makes clang play nice with leak checkers. llvm-svn: 160529
* FileCheck-ize.Eric Christopher2012-07-191-24/+23
| | | | llvm-svn: 160528
* Remove HasSynthBitfield and all callers/writers/etc. Also removeEric Christopher2012-07-196-38/+6
| | | | | | | | previous ResetObjCLayout calls since this is now handled in Sema. Part of rdar://11842763 llvm-svn: 160527
* Reset the layout of an ObjC class if we see an ivar in a categoryEric Christopher2012-07-192-0/+52
| | | | | | | | or implementation since we've now got a different layout. Fixes rdar://11842763 llvm-svn: 160526
* Reverting r 160419.Galina Kistanova2012-07-191-2/+1
| | | | llvm-svn: 160525
* Fixed the file header to match the filename.Greg Clayton2012-07-191-1/+1
| | | | llvm-svn: 160524
* Fixed the comment for the lldb_private::PathType enumerations.Greg Clayton2012-07-191-1/+1
| | | | llvm-svn: 160523
* Removing a spurious comment, no functionality changes.Aaron Ballman2012-07-191-5/+0
| | | | llvm-svn: 160522
* Adds the family codes for the Midview Atom processors so that thePreston Gurd2012-07-192-4/+3
| | | | | | Atom buildbot will auto-detect Atom. llvm-svn: 160521
* Fix remaining lit tests which were failing when run on an AtomPreston Gurd2012-07-1912-16/+51
| | | | | | | | processor. Patches by Tyler Nowicki, Andy Zhang, and Preston Gurd! llvm-svn: 160520
* CommentDumper: print word-like arguments for block commands.Dmitri Gribenko2012-07-191-0/+2
| | | | llvm-svn: 160519
* default to use -mv4 when no version of Hexagon has been specifiedSebastian Pop2012-07-191-1/+5
| | | | | | | | | This fixes a bunch of make check failures of the form: Unknown Architecture Version. UNREACHABLE executed at ../lib/Target/Hexagon/HexagonSubtarget.cpp:60! llvm-svn: 160518
* For varargs, diagnose passing ObjC objects by value like other non-POD types.Jordan Rose2012-07-198-54/+83
| | | | | | | | | | | | | | While we still want to consider this a hard error (non-POD variadic args are normally a DefaultError warning), delaying the diagnostic allows us to give better error messages, which also match the usual non-POD errors more closely. In addition, this change improves the diagnostic messages for format string argument type mismatches by passing down the type of the callee, so we can say "variadic method" or "variadic function" appropriately. <rdar://problem/11825593> llvm-svn: 160517
* Capitalize "Objective-C" and "C++" in user-facing contexts.Jordan Rose2012-07-1914-35/+35
| | | | | | No functionality change. llvm-svn: 160516
* Don't crash checking a format string if one of the arguments is invalid.Jordan Rose2012-07-192-7/+37
| | | | | | | | | Previously, we would ask for the SourceLocation of an argument even if it were NULL (i.e. if Sema resulted in an ExprError trying to build it). <rdar://problem/11890818> llvm-svn: 160515
* Changed ProcessGDBRemote to avoid the reservedSean Callanan2012-07-191-1/+14
| | | | | | | | | port range. Also added a comment indicating that more work is needed. <rdar://problem/11580051> llvm-svn: 160514
* reimplement truncate() to make it optimal.Nuno Lopes2012-07-191-10/+45
| | | | | | | | It is optimal at least up to 7 bits (I've tested all such cases) This change to truncate() allows a little simplification to the multiplication code, and it also makes multiplication optimal :) llvm-svn: 160512
* Add a test case for rdar://11806334.Argyrios Kyrtzidis2012-07-191-0/+32
| | | | | | Makes sure we don't overflow the stack. llvm-svn: 160511
* Jean-Daniel : clang now supports all required type_traits.Howard Hinnant2012-07-191-2/+2
| | | | llvm-svn: 160510
* Jean-Daniel updates the libc++ index page to reflect not so recent changes ↵Howard Hinnant2012-07-191-6/+6
| | | | | | in C++ standard status. llvm-svn: 160509
* [ASan] subtract one from PCs in ASan error reports (as they originally ↵Alexey Samsonov2012-07-198-31/+27
| | | | | | contain return addresses). Make output tests stricter. llvm-svn: 160508
* Pull the simple parts of DenseMapInfo<DebugLoc> inline and prune includes.Benjamin Kramer2012-07-192-17/+4
| | | | llvm-svn: 160507
* Make git not delete my_working_dir. Otherwise a git checkout would be ↵Filipe Cabecinhas2012-07-191-0/+0
| | | | | | different from an svn checkout. llvm-svn: 160506
* test/DebugInfo/dwarfdump-test.test: Tweak expressions for Win32 to match ↵NAKAMURA Takumi2012-07-191-8/+8
| | | | | | | | | | | | backslashes. They are still odd, though. For example, Paths are printed on Win32 as below; /tmp/dbginfo\def2.cc:4:0 /tmp/dbginfo\include\decl2.h:1:0 /tmp/include\decl.h:5:0 llvm-svn: 160505
* [tsan] fix lintKostya Serebryany2012-07-191-2/+1
| | | | llvm-svn: 160504
* [tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chromeKostya Serebryany2012-07-192-5/+21
| | | | llvm-svn: 160503
* Suppress the stderr output from atos.Alexander Potapenko2012-07-191-2/+5
| | | | llvm-svn: 160502
OpenPOWER on IntegriCloud