- Sep 11, 2012
-
-
Eric Christopher authored
llvm-svn: 163569
-
Eric Christopher authored
llvm-svn: 163568
-
Eric Christopher authored
llvm-svn: 163567
-
Argyrios Kyrtzidis authored
Unfortunately, no test case. rdar://11960120 llvm-svn: 163566
-
Chad Rosier authored
llvm-svn: 163565
-
David Blaikie authored
Patch by David Tweed, review by myself and John McCall. llvm-svn: 163564
-
Argyrios Kyrtzidis authored
rdar://12257073 llvm-svn: 163563
-
Anna Zaks authored
llvm-svn: 163562
-
Chad Rosier authored
llvm-svn: 163561
-
Ted Kremenek authored
Revert "Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons." This should be discussed more first. llvm-svn: 163560
-
Sean Callanan authored
truncated during install-headers. <rdar://problem/12268130> llvm-svn: 163559
-
Anna Zaks authored
The option allows to always inline very small functions, whose size (in number of basic blocks) is set using -analyzer-config ipa-always-inline-size option. llvm-svn: 163558
-
Chad Rosier authored
llvm-svn: 163557
-
Chad Rosier authored
llvm-svn: 163556
-
David Blaikie authored
A couple of missing "RequireNonAbstractType" calls in conditional operator handling. I looked for opportunities to tie this check in to all relevant callers of PerformCopyInitialization (couldn't be all callers since this is called for base subobject copying too, where it's acceptable to copy abstract types) but the callers varied too much & in many cases had substantial code or conditionals on the RequireNonAbstractType call, the PerformCopyInitialization call, or the code between the two calls. llvm-svn: 163555
-
NAKAMURA Takumi authored
test/CodeGen/X86/ms-inline-asm.ll: Relax for non-darwin x86 targets. '##InlineAsm' could not be seen in other hosts. llvm-svn: 163554
-
Argyrios Kyrtzidis authored
llvm-svn: 163553
-
Argyrios Kyrtzidis authored
load in the IndirectField declarations as well. Field designators in initializer lists depend on traversing the fields decl chain to find the indirect fields. Fixes rdar://12239321 llvm-svn: 163552
-
- Sep 10, 2012
-
-
Jordan Rose authored
Also, document both new inlining options in IPA.txt. llvm-svn: 163551
-
Chad Rosier authored
and InlineAsmVariant don't match. llvm-svn: 163550
-
Chad Rosier authored
llvm-svn: 163549
-
Jordan Rose authored
This is a (heavy-handed) solution to PR13724 -- until we know we can do a good job inlining the STL, it's best to be consistent and not generate more false positives than we did before. We can selectively whitelist certain parts of the 'std' namespace that are known to be safe. This is controlled by analyzer config option 'c++-stdlib-inlining', which can be set to "true" or "false". This commit also adds control for whether or not to inline any templated functions (member or non-member), under the config option 'c++-template-inlining'. This option is currently on by default. llvm-svn: 163548
-
Dmitri Gribenko authored
llvm-svn: 163547
-
Dmitri Gribenko authored
llvm-svn: 163546
-
Nadav Rotem authored
llvm-svn: 163545
-
Chad Rosier authored
and update the printOperand() function accordingly. llvm-svn: 163544
-
Greg Clayton authored
llvm-svn: 163543
-
Chad Rosier authored
llvm-svn: 163542
-
Jim Ingham authored
uint32_t size = ThreadList.GetSize(); for (i=0; i < size; ++i) without grabbing the thread list mutex. llvm-svn: 163541
-
Dmitri Gribenko authored
Now we have a list of all commands. This is a good thing in itself, but it also enables us to easily implement typo correction for command names. With this change we have objects that contain information about each command, so it makes sense to resolve command name just once during lexing (currently we store command names as strings and do a linear search every time some property value is needed). Thus comment token and AST nodes were changed to contain a command ID -- index into a tables of builtin and registered commands. Unknown commands are registered during parsing and thus are also uniformly assigned an ID. Using an ID instead of a StringRef is also a nice memory optimization since ID is a small integer that fits into a common bitfield in Comment class. This change implies that to get any information about a command (even a command name) we need a CommandTraits object to resolve the command ID to CommandInfo*. Currently a fresh temporary CommandTraits object is created whenever it is needed since it does not have any state. But with this change it has state -- new commands can be registered, so a CommandTraits object was added to ASTContext. Also, in libclang CXComment has to be expanded to include a CXTranslationUnit so that all functions working on comment AST nodes can get a CommandTraits object. This breaks binary compatibility of CXComment APIs. Now clang_FullComment_getAsXML(CXTranslationUnit TU, CXComment CXC) doesn't need TU parameter anymore, so it was removed. This is a source-incompatible change for this C API. llvm-svn: 163540
-
Nadav Rotem authored
llvm-svn: 163539
-
Ted Kremenek authored
Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons. llvm-svn: 163538
-
DeLesley Hutchins authored
analysis that may give false positives because it is confused by aliasing, and a less precise analysis that has fewer false positives, but may have false negatives. The more precise warnings are enabled by -Wthread-safety-precise. An additional note clarify the warnings in the precise case. llvm-svn: 163537
-
Ted Kremenek authored
llvm-svn: 163536
-
Jakob Stoklund Olesen authored
The ARM backend can eliminate cmp instructions by reusing flags from a nearby sub instruction with similar arguments. Don't do that if the sub is predicated - the flags are not written unconditionally. <rdar://problem/12263428> llvm-svn: 163535
-
Ted Kremenek authored
llvm-svn: 163534
-
Ted Kremenek authored
llvm-svn: 163533
-
Michael J. Spencer authored
llvm-svn: 163532
-
Ted Kremenek authored
llvm-svn: 163531
-
Nadav Rotem authored
llvm-svn: 163530
-