- Dec 05, 2012
-
-
Anna Zaks authored
This will only check the direct ivar assignments in the annotated methods. llvm-svn: 169349
-
DeLesley Hutchins authored
adjust checkAccess. No change in functionality. llvm-svn: 169348
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and added support for friend declaration printing. This is wip. // rdar://12378714 llvm-svn: 169346
-
DeLesley Hutchins authored
As the analysis improves, it will continue to add new warnings that are potentially disruptive to existing users. From now on, such warnings will first be introduced under the "beta" flag. Such warnings are not turned on by default; their purpose is to allow users to test their code against future planned changes, before those changes are actually made. After a suitable migration period, beta warnings will be folded into the standard -Wthread-safety. llvm-svn: 169338
-
- Dec 04, 2012
-
-
Chandler Carruth authored
This ensures that even though it comes first, we pick up its .o files. Note that if we can use this (or something similar / equivalent) on other platforms, we could potentially remove ReplaceOperatorsNewAndDelete from the ASan runtimes. We should probably do something similar for TSan and MSan as well. llvm-svn: 169328
-
Ted Kremenek authored
llvm-svn: 169318
-
Bill Wendling authored
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169311
-
Matt Beaumont-Gay authored
the link command. This all works fine when the driver is also responsible for adding -lstdc++ to the link command. But, if -lstdc++ (or libstdc++.a, etc) is passed explicitly to the driver, the ASan runtime will appear in the link command after the standard library, leading to multiple-definition errors for the global 'operator new' and 'operator delete'. Fix this in a painfully simple way, by inserting libclang_rt.asan.a at the start of the link command instead of the end. If we need to do something more clever, we can walk the link command looking for something that resembles libstdc++ and insert libclang_rt.asan.a as late as possible, but the simple solution works for now. llvm-svn: 169310
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and fixed a missing block literal printout as result of the testing. // rdar://12378714 llvm-svn: 169307
-
Daniel Jasper authored
llvm-svn: 169303
-
Eli Bendersky authored
in the triple. llvm-svn: 169292
-
Fariborz Jahanian authored
// rdar://12378714 llvm-svn: 169289
-
Alexander Kornienko authored
Summary: Adds recovery for structural errors in clang-format. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, silvas Differential Revision: http://llvm-reviews.chandlerc.com/D164 llvm-svn: 169286
-
Fariborz Jahanian authored
after the fixed size block header when generating captured block variable info. // rdar://12773256 llvm-svn: 169285
-
Alexander Kornienko authored
Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D163 llvm-svn: 169278
-
NAKAMURA Takumi authored
llvm-svn: 169277
-
Dmitri Gribenko authored
Patch by Jyun-Yan You. llvm-svn: 169276
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D162 llvm-svn: 169274
-
Alexander Kornienko authored
Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D161 llvm-svn: 169272
-
Manuel Klimek authored
llvm-svn: 169271
-
NAKAMURA Takumi authored
ToolChains.cpp: Fixup r169260, clang/Config/config.h needs to be listed *last*, or llvm/Config/llvm-config.h could not be read in header files. llvm-svn: 169268
-
Manuel Klimek authored
llvm-svn: 169262
-
Daniel Jasper authored
directives. llvm-svn: 169261
-
Chandler Carruth authored
Shuffling order causes the wrong one to win. CMake didn't exhibit this problem because Clang's has *no* guards. I'll fix this properly tomorrow when Eric and I can check both build systems and get them to DTRT, but for now unbreak some bots by hoisting this header. llvm-svn: 169260
-
Daniel Jasper authored
We still need to make the python script understand some of the new matchers, but this should be an improvement. llvm-svn: 169258
-
Daniel Jasper authored
llvm-svn: 169257
-
Daniel Jasper authored
Also fix header guard. http://llvm-reviews.chandlerc.com/D159 llvm-svn: 169254
-
Chandler Carruth authored
llvm-svn: 169245
-
Chandler Carruth authored
I forgot to re-sort after fixing main module headers. llvm-svn: 169244
-
Chandler Carruth authored
I've tried to place sensible headers at the top as main-module headers. llvm-svn: 169243
-
Chandler Carruth authored
llvm-svn: 169241
-
Chandler Carruth authored
Completely automated with sort_includes.py llvm-svn: 169240
-
Chandler Carruth authored
This is a simpler sort, entirely automatic with the help of llvm/utils/sort_includes.py -- no manual edits here. llvm-svn: 169238
-
Chandler Carruth authored
uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
-
NAKAMURA Takumi authored
llvm-svn: 169236
-
NAKAMURA Takumi authored
llvm-svn: 169235
-
NAKAMURA Takumi authored
llvm-svn: 169233
-
Bill Wendling authored
llvm-svn: 169232
-
Argyrios Kyrtzidis authored
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. llvm-svn: 169229
-
Argyrios Kyrtzidis authored
use the SourceLocation at the start of the respective region, instead of a unique integer. llvm-svn: 169228
-