- Jan 02, 2013
-
-
Sean Silva authored
llvm-svn: 171410
-
Sean Silva authored
Language extensions are highly relevant to using clang as a compiler, so move LanguageExtensions up into `Using Clang as a Compiler` on the landing page. The other documents from the now-gone `Language Extensions and Specs` section on the landing page nicely fit hierarchically under LanguageExtensions.rst, so put them under LanguageExtensions.rst's toctree instead of on the landing page. Impetus from Jordan Rose. llvm-svn: 171409
-
Michael J. Spencer authored
llvm-svn: 171408
-
Sean Silva authored
Spotted by Nikola Smiljanic. llvm-svn: 171407
-
Michael J. Spencer authored
* Add support for specifying the alignment to use. * Add the concept of native endianness. Used for unaligned native types. The native alignment and read/write simplification is based on a patch by Richard Smith. llvm-svn: 171406
-
Argyrios Kyrtzidis authored
This defeats the include-guard optimization when parsing. llvm-svn: 171405
-
Argyrios Kyrtzidis authored
llvm-svn: 171402
-
Manuel Klimek authored
Fixes: - incorrect handling of multiple consecutive preprocessor directives - crash when trying to right align the escpaed newline for a line that is longer than the column limit - using only ColumnLimit-1 columns when layouting with escaped newlines inside preprocessor directives llvm-svn: 171401
-
Daniel Jasper authored
This fixes llvm.org/PR14786. We will need to split there as a last resort, but that should be done consistently independent of whether the type is a template type or not. Before: template <typename T> aaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa<T> ::aaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: template <typename T> aaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaa<T>::aaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 171400
-
Shuxin Yang authored
- Fix a typo llvm-svn: 171399
-
Nadav Rotem authored
llvm-svn: 171398
-
Nadav Rotem authored
llvm-svn: 171397
-
Daniel Jasper authored
This fixes llvm.org/PR14687. Also fixes segfault for lines starting with * or &. Before: a *~b; *a = 1; // <- this segfaulted After: a * ~b; *a = 1; // no segfault :-) llvm-svn: 171396
-
Manuel Klimek authored
This is the first step towards handling preprocessor directives. This patch only fixes the most pressing issue, namely correctly escaping newlines for tokens within a sequence of a preprocessor directive. The next step will be to fix incorrect format decisions on #define directives. llvm-svn: 171393
-
Daniel Jasper authored
This fixes llvm.org/PR14747. Before: Type *A = (Type * ) P; After: Type *A = (Type *) P; llvm-svn: 171390
-
Daniel Jasper authored
This fixes llvm.org/PR14746. Before: return - 1; After: return -1; llvm-svn: 171389
-
Daniel Jasper authored
This addresses llvm.org/PR14699 Before: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction( int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2); After: template <typename T> void looooooooooooooooooooooongFunction(int Param1, int Param2); template <typename T> void looooooooooooooooooooongFunction(int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2); llvm-svn: 171388
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 171386
-
Sean Silva authored
llvm-svn: 171384
-
Sean Silva authored
The linked Makefile is always up to date, so there's no point in having a rotting list of libraries. llvm-svn: 171383
-
Sean Silva authored
llvm-svn: 171382
-
Chandler Carruth authored
llvm-svn: 171381
-
Sean Silva authored
llvm-svn: 171380
-
Sean Silva authored
I clustered the docs by some intuitive/fuzzy notion of "similarity", and some reasonable categories seemed to materialize. I tried to give the clusters useful names, but you may want to take a look at the landing page (<http://clang.llvm.org/docs/> for the lazy) and share your thoughts. I have to say, this small change really gives the docs a whole new life! It makes our documentation quite a bit easier to navigate and scope out. llvm-svn: 171379
-
Sean Silva authored
llvm-svn: 171378
-
Sean Silva authored
The core of this page is a set of pros/cons for the different ways to use clang as a library. The title should reflect that the page helps you choose between alternatives. llvm-svn: 171377
-
Sean Silva authored
Having the table of contents there was making it hard to easily see at a glance all the docs we have. llvm-svn: 171376
-
Sean Silva authored
llvm-svn: 171375
-
Chandler Carruth authored
migration in r171366. I don't know anything about lldb, but a force run of the build bot indicated it would need this patch. I'll try to watch the build bot to get it green. llvm-svn: 171374
-
Chandler Carruth authored
code that includes Intrinsics.gen directly. This never showed up in my testing because the old Intrinsics.gen was still kicking around in the make build system and was correct there. =[ Thankfully, some of the bots to clean rebuilds and that caught this. llvm-svn: 171373
-
Richard Smith authored
llvm-svn: 171372
-
Chandler Carruth authored
Sorry for the fallout here, I forgot the examples aren't built by default any more. llvm-svn: 171371
-
Chandler Carruth authored
reflect the migration in r171366. llvm-svn: 171370
-
Chandler Carruth authored
reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369
-
Richard Smith authored
llvm-svn: 171367
-
Chandler Carruth authored
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
-
Chandler Carruth authored
This is done with the script in llvm/utils/sort_includes.py llvm-svn: 171365
-
Chandler Carruth authored
Removes a duplicate #include as well as cleaning up some sort order regressions since I last ran the script over Clang. llvm-svn: 171364
-
Chandler Carruth authored
llvm-svn: 171363
-
Chandler Carruth authored
utils/sort_includes.py script. Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes. llvm-svn: 171362
-