- Sep 15, 2010
-
-
Douglas Gregor authored
llvm-svn: 113917
-
Cameron Esfahani authored
Fix Windows64 target info so pointer arithmetic is done correctly, and no sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. llvm-svn: 113910
-
Francois Pichet authored
- in union - as the only element of a struct/class. llvm-svn: 113909
-
Douglas Gregor authored
expression, e.g., after the '(' that could also be a type cast. Here, we provide types as code-completion results in C/Objective-C (C++ already had them), although we wouldn't in a normal expression context. llvm-svn: 113904
-
Ted Kremenek authored
Add CFG::BuildOptions class to pass in CFG builder options under on parameter. Patch by Marcin Świderski! llvm-svn: 113898
-
Sebastian Redl authored
llvm-svn: 113897
-
Ted Kremenek authored
llvm-svn: 113893
-
Daniel Dunbar authored
library to use. - This is currently useful for testing libc++; you can now use 'clang++ -stdlib=libc++ t.cpp' to compile using it if installed. - In the future could also be used to select other standard library choices if alternatives become available (for example, to use an alternate C library). llvm-svn: 113891
-
Daniel Dunbar authored
llvm-svn: 113890
-
Daniel Dunbar authored
llvm-svn: 113889
-
Ted Kremenek authored
Don't divide-by-zero in RegionStoreManager::getSizeInElements() when getting the size of a VLA. We don't track VLA extents yet, but we should at least not crash. Fixes <rdar://problem/8424269>. llvm-svn: 113888
-
Fariborz Jahanian authored
copy initialization before passing it to a setter. Fixes radar 8427922. llvm-svn: 113885
-
Douglas Gregor authored
"used", at the time that the default argument itself is used, also mark destructors that will be called by this expression. This fixes a regression that I introduced in r113700, which broke WebKit, and fixes <rdar://problem/8427926>. llvm-svn: 113883
-
- Sep 14, 2010
-
-
Douglas Gregor authored
that we're sure to keep it updated when new expression kinds emerge. Also fixes a few little bugs in the classification of expressions. llvm-svn: 113864
-
John McCall authored
llvm-svn: 113863
-
Tom Care authored
Rename 'MaxLoop' to 'MaxVisit' in AnalysisManager to more correctly reflect that we aborted analysis may not necessarily be due to a loop. llvm-svn: 113862
-
John McCall authored
placement 'operator delete', even if there are no placement args (i.e. overload resolution selected an operator new with default arguments). llvm-svn: 113861
-
John McCall authored
(but not if destructors associated with the full-expression throw). llvm-svn: 113836
-
Michael J. Spencer authored
llvm-svn: 113835
-
Ted Kremenek authored
llvm-svn: 113826
-
Argyrios Kyrtzidis authored
llvm.stacksave/llvm.stackrestore wasn't emitted for VLAs in inner scopes. Fixes r8403108. llvm-svn: 113822
-
Douglas Gregor authored
I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. I will not mix declaration and statements in C90. llvm-svn: 113821
-
Michael J. Spencer authored
This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt llvm-svn: 113817
-
Jakob Stoklund Olesen authored
This test created a statements.ll file until about a month ago. Some buildbots still have this file in their source dir. This is the easiest way to remove the file on all bots. Then I'll revert. llvm-svn: 113814
-
Douglas Gregor authored
char32_t, respectively, but which can also be used in C++98/03 mode. Fixes <rdar://problem/8418510>. llvm-svn: 113813
-
Douglas Gregor authored
to an "overloaded" set of declarations. This cursor kind works for unresolved references to functions/templates (e.g., a call within a template), using declarations, and Objective-C class and protocol forward declarations. llvm-svn: 113805
-
Ted Kremenek authored
llvm-svn: 113800
-
Ted Kremenek authored
llvm-svn: 113799
-
Ted Kremenek authored
Remove from the CFG the half-implemented support for scoping information. We decided that scope information doesn't belong in the CFG at all, since it is a lexical construct. Patch by Marcin Świderski! llvm-svn: 113798
-
Sebastian Redl authored
llvm-svn: 113796
-
Sebastian Redl authored
Remove CXXRecordDecl::getDefaultConstructor(), an inherently unsafe function due to lazy declaration of default constructors. Now that __has_nothrow_constructor doesn't use it anymore, part of PR8101 is fixed. llvm-svn: 113794
-
- Sep 13, 2010
-
-
Eric Christopher authored
llvm-svn: 113793
-
Sebastian Redl authored
Have __has_nothrow_copy use Sema's lookup routines. This fixes the problem with not finding implicitly declared copy constructors, part of PR8107. llvm-svn: 113784
-
Sebastian Redl authored
Eagerly evaluate type traits in Sema instead of lazily in AST. They actually need Sema access to be correct, fixes coming up. llvm-svn: 113782
-
Devang Patel authored
Handle %test_debuginfo on a RUN command line. This set up now allows one to write small test cases to check debug info. e.g. ; RUN: %clang -O0 -g %s -c -o %t.o ; RUN: %clang %t.o -o %t.out ; RUN: %test_debuginfo %s %t.out define i32 @f1(i32 %i) nounwind ssp { ; DEBUGGER: break f1 ; DEBUGGER: r ; DEBUGGER: p i ; CHECK: $1 = 42 entry: %i.addr = alloca i32, align 4 ... ... } It is also possible now to write test cases in c/c++. The plan is to store these debug info testcases in a separate place. llvm-svn: 113780
-
Argyrios Kyrtzidis authored
When applying 'delete' on a pointer-to-array type match GCC and EDG behavior and treat it as 'delete[]'. Also offer a fix-it hint adding '[]'. llvm-svn: 113778
-
Argyrios Kyrtzidis authored
llvm-svn: 113777
-
Argyrios Kyrtzidis authored
Add a compatibility note about clang not implicitly converting between objc_object* and id (and SEL, Class). llvm-svn: 113761
-
Argyrios Kyrtzidis authored
llvm-svn: 113760
-
Douglas Gregor authored
llvm-svn: 113754
-