- Jun 22, 2010
-
-
Anders Carlsson authored
llvm-svn: 106546
-
Douglas Gregor authored
When we ask for the enumerators of an EnumDecl, make sure we get them even if we have a EnumDecl that is not the definition of the enumeration llvm-svn: 106541
-
Douglas Gregor authored
enum as a GNU extension. llvm-svn: 106540
-
Argyrios Kyrtzidis authored
For void f( a::b::c ); we would cache the tokens "a::b::" but then we would try to annotate them using the range "a::". Before annotating them with the (invalid) C++ scope spec, set it to the range of "a::b::". llvm-svn: 106536
-
Argyrios Kyrtzidis authored
llvm-svn: 106534
-
Argyrios Kyrtzidis authored
-Introduce PCHWriter::AddTemplateArgumentLocInfo() -Modify PCHWriter::AddTemplateArgumentLoc() to also write TemplateArgumentLoc's TemplateArgument and move the existing calls of AddTemplateArgumentLoc() to AddTemplateArgumentLocInfo(). llvm-svn: 106533
-
Argyrios Kyrtzidis authored
Introduce: -FunctionDecl::getTemplatedKind() which returns an enum signifying what kind of templated FunctionDecl it is. -An overload of FunctionDecl::setFunctionTemplateSpecialization() which accepts arrays of TemplateArguments and TemplateArgumentLocs -A constructor to TemplateArgumentList which accepts an array of TemplateArguments. llvm-svn: 106532
-
Benjamin Kramer authored
llvm-svn: 106531
-
Zhongxing Xu authored
llvm-svn: 106530
-
Douglas Gregor authored
PR7405, patch by Kyle Lippincott! llvm-svn: 106523
-
Douglas Gregor authored
llvm-svn: 106522
-
Fariborz Jahanian authored
is a static comparator operator). llvm-svn: 106511
-
Chris Lattner authored
Elhage! llvm-svn: 106507
-
Douglas Gregor authored
if/while/switch/for statements to ensure that walking the children of these statements actually works. Previously, we stored the condition variable as a VarDecl. However, StmtIterator isn't able to walk from a VarDecl to a set of statements, and would (in some circumstances) walk beyond the end of the list of statements, cause Bad Behavior. In this change, we've gone back to representing the condition variables as DeclStmts. While not as memory-efficient as VarDecls, it greatly simplifies iteration over the children. Fixes the remainder of <rdar://problem/8104754>. llvm-svn: 106504
-
Fariborz Jahanian authored
order of priorotized global object initializations. llvm-svn: 106503
-
Douglas Gregor authored
llvm-svn: 106497
-
Douglas Gregor authored
just skip over the body of the class or class template: it's a semantic disaster that's likely to cause invariants to break. Fixes part of <rdar://problem/8104754>. llvm-svn: 106496
-
Ted Kremenek authored
llvm-svn: 106495
-
Fariborz Jahanian authored
llvm-svn: 106494
-
Fariborz Jahanian authored
objc_category_name_xxx for each category implementation. (fixes PR7431) patch by Nico Weber. llvm-svn: 106492
-
- Jun 21, 2010
-
-
Fariborz Jahanian authored
emitted in the order in which they are seen (still radar 8076356). llvm-svn: 106485
-
Tom Care authored
http://llvm.org/bugs/show_bug.cgi?id=7377 Updated format string highlighting and fixits to take advantage of the new CharSourceRange class. - Change HighlightRange to allow highlighting whitespace only in a CharSourceRange (for warnings about the ' ' (space) flag) - Change format specifier range helper function to allow for half-open ranges (+1 to end) - Enabled previously failing tests (FIXMEs/XFAILs removed) - Small fixes and additions to format string test cases M test/Sema/format-strings.c M test/Sema/format-strings-fixit.c M lib/Frontend/TextDiagnosticPrinter.cpp M lib/Sema/SemaChecking.cpp llvm-svn: 106480
-
Anders Carlsson authored
llvm-svn: 106477
-
Ted Kremenek authored
adding a clang_getCursorResultType() function (which complements clang_getResultType()). llvm-svn: 106473
-
Chris Lattner authored
llvm-svn: 106472
-
Ted Kremenek authored
function, clang_getResultType(), which returns the result type of the function type. llvm-svn: 106459
-
Jordy Rose authored
When folding additive operations, convert the values to the same type. When assuming relationships, convert the integers to the same type as the symbol, at least for now. llvm-svn: 106458
-
Jordy Rose authored
llvm-svn: 106456
-
Fariborz Jahanian authored
for sorting (radar 8076356). llvm-svn: 106453
-
Ted Kremenek authored
llvm-svn: 106451
-
Fariborz Jahanian authored
Test case will be checked in llvm test suite. (finishes off radar 8076356). llvm-svn: 106441
-
Douglas Gregor authored
declaration have default visibility even under -fvisibility=hidden. Fixes <rdar://problem/8109763>. llvm-svn: 106440
-
Fariborz Jahanian authored
particular sequence causes its definition to not be generated in the object file. (fixes radar 8071804). llvm-svn: 106424
-
Argyrios Kyrtzidis authored
llvm-svn: 106412
-
Nate Begeman authored
llvm-svn: 106407
-
- Jun 20, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 106404
-
Benjamin Kramer authored
llvm-svn: 106403
-
Jordy Rose authored
Adds analyzer support for idempotent and tautological binary operations such as "a*0" and "a+0". This is not very powerful, but does make the analyzer look a little smarter than it actually is. llvm-svn: 106402
-
Jordy Rose authored
Casting to void* or any other pointer-to-sizeless type (e.g. function pointers) causes a divide-by-zero error. Simple fix: check if the pointee type size is 0 and bail out early if it is. llvm-svn: 106401
-
- Jun 19, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 106394
-