- Dec 05, 2012
-
-
Daniel Jasper authored
llvm-svn: 169365
-
Daniel Jasper authored
Recognize '!=' as a binary operator and assume that there are no type definitions on the RHS of an assignment. llvm-svn: 169363
-
Richard Smith authored
diagnostic from the emission of macro backtraces. Incidentally, we now get the displayed source location for a diagnostic and the location for the caret from the same place, rather than computing them separately. No functionality change. llvm-svn: 169357
-
NAKAMURA Takumi authored
Or "llvm/Support/system_error.h" could not be compiled on mingw. llvm-svn: 169354
-
Richard Smith authored
llvm-svn: 169351
-
DeLesley Hutchins authored
copy constructors. llvm-svn: 169350
-
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
-
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
-
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
-
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
Also fix header guard. http://llvm-reviews.chandlerc.com/D159 llvm-svn: 169254
-
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: 169233
-
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
-
Argyrios Kyrtzidis authored
compile commands of the database and expose it via the libclang API. llvm-svn: 169226
-
Bill Wendling authored
The count field is necessary because there isn't a difference between the 'lo' and 'hi' attributes for a one-element array and a zero-element array. When the count is '0', we know that this is a zero-element array. When it's >=1, then it's a normal constant sized array. When it's -1, then the array is unbounded. llvm-svn: 169219
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and fixed a missing declaration of ivars private to @implementation as result of the testing. // rdar://12378714 llvm-svn: 169193
-
Michael Ilseman authored
Have clang use LLVM IR's fast-math flags when in FastMath or FiniteMathOnly modes. Test cases included. llvm-svn: 169191
-
Michael Ilseman authored
llvm-svn: 169187
-
- Dec 03, 2012
-
-
Richard Smith authored
after its lifetime has ended! llvm-svn: 169170
-
Manuel Klimek authored
The necessity of this fix points to a problem with the design of the addToken during the optimiation phase, which we need to address in a much more principled way. llvm-svn: 169151
-
Alexey Samsonov authored
Add Clang flags -fsanitize-blacklist and -fno-sanitize-blacklist. Make this flag usable for ASan. Blacklisting can be used to disable sanitizer checks for particular file/function/object. llvm-svn: 169144
-
Benjamin Kramer authored
llvm-svn: 169139
-