- Jan 14, 2013
-
-
-
Alexander Kornienko authored
llvm-svn: 172434
-
Manuel Klimek authored
We now format this correctly: Status::Rep Status::global_reps[3] = { { kGlobalRef, OK_CODE, NULL, NULL, NULL }, { kGlobalRef, CANCELLED_CODE, NULL, NULL, NULL }, { kGlobalRef, UNKNOWN_CODE, NULL, NULL, NULL } }; - fixed a bug where BreakBeforeClosingBrace would be set on the wrong state - added penalties for breaking between = and {, and between { and any other non-{ token llvm-svn: 172433
-
Daniel Jasper authored
llvm-svn: 172432
-
Daniel Jasper authored
Now, "if (a) return;" is only allowed, if this option is set. Also add a Chromium style which is currently identical to Google style except for this option. llvm-svn: 172431
-
Will Dietz authored
Specify weaker memory order in case we optimize for it in the future, presently still doing same __sync_lock_test_and_set() as before. Change suggested by Alexey Samsonov, thanks! llvm-svn: 172429
-
Daniel Jasper authored
If the first line of a merge would exactly fit into the column limit, an unsigned overflow made us not break. llvm-svn: 172426
-
Daniel Jasper authored
Before: #include "a.h" #include "b.h" After: #include "a.h" #include "b.h" llvm-svn: 172424
-
Daniel Jasper authored
Before: #define A \ A After: #define A A llvm-svn: 172423
-
Evgeniy Stepanov authored
Move my_rand() to the common header. This lets us avoid the use of rand_r in sanitizer_common tests. There is no rand_r on Android. llvm-svn: 172421
-
Benjamin Kramer authored
llvm-svn: 172420
-
Alexey Samsonov authored
llvm-svn: 172419
-
Dmitry Vyukov authored
llvm-svn: 172415
-
Edwin Vane authored
Reviewers: klimek llvm-svn: 172414
-
Daniel Jasper authored
Before: if (a) return; After: if (a) return; Not yet sure, whether this is always desired, but we can add options and make this a style parameter as we go along. llvm-svn: 172413
-
Timur Iskhodzhanov authored
llvm-svn: 172411
-
Evgeniy Stepanov authored
llvm-svn: 172410
-
Alexander Kornienko authored
http://llvm-reviews.chandlerc.com/D269 "Added dumping of declaration comments in ASTDumper. This required moving the comment dumping code from CommentDumper so that the indentation is correct." Patch by Philip Craig! llvm-svn: 172409
-
Evgeniy Stepanov authored
Not supported on Android. llvm-svn: 172408
-
Alexander Kornienko authored
llvm-svn: 172407
-
Alexander Kornienko authored
llvm-svn: 172405
-
NAKAMURA Takumi authored
clang/test/SemaCXX/cxx11-gnu-attrs.cpp: Add explicit -triple x86_64-unknown-unknown, or it doesn't work for targetting win32. llvm-svn: 172404
-
Daniel Jasper authored
Main difference, add an AnnotatedLine class to hold information about a line while formatting. At the same time degrade the UnwrappedLine class to a class solely used for communicating between the UnwrappedLineParser and the Formatter. No functional changes intended. llvm-svn: 172403
-
Daniel Jasper authored
Before: (a->f()) ++; a[42] ++; After: (a->f())++; a[42]++; llvm-svn: 172400
-
Alexander Kornienko authored
Summary: Added tests for clang-format diagnostics. Added DiagnosticConsumer argument to clang::format::reformat(). Reviewers: klimek, djasper Reviewed By: djasper CC: cfe-commits, thakis, rafael.espindola Differential Revision: http://llvm-reviews.chandlerc.com/D290 llvm-svn: 172399
-
Alexey Samsonov authored
llvm-svn: 172398
-
Kostya Serebryany authored
[asan] use the slow CFI-based unwinder when reporting an error. Still use the fast unwinder for malloc/free. Linux-x86-only for now. llvm-svn: 172397
-
Manuel Klimek authored
While reviewing r172303 I noticed that I wasn't sure whether we still format those correctly and didn't see any tests. llvm-svn: 172396
-
Dmitry Vyukov authored
asan/tsan: mmap shadow memory before allocating memory (otherwise other threads can access non yet allocated shadow) llvm-svn: 172395
-
Alexey Samsonov authored
ASan: Disable alloc/dealloc-mismatch checker on Mac for now (it produces weird false positives on googletest) llvm-svn: 172394
-
Dmitry Vyukov authored
llvm-svn: 172393
-
Dmitry Vyukov authored
llvm-svn: 172392
-
Richard Smith authored
llvm-svn: 172391
-
Dmitry Vyukov authored
llvm-svn: 172390
-
Dmitry Vyukov authored
llvm-svn: 172389
-
Dmitry Vyukov authored
1. Increase size classes from 32k to 128k 2. Use lock-free stack in central cache 3. Use blocking mutex when allocate new memory with mmap llvm-svn: 172388
-
Dmitry Vyukov authored
llvm-svn: 172387
-
Dmitry Vyukov authored
llvm-svn: 172386
-
Dmitry Vyukov authored
llvm-svn: 172385
-
Richard Smith authored
on redeclarations, since that makes us pick wrong prior declarations under some circumstances. llvm-svn: 172384
-