- Mar 18, 2011
-
-
John McCall authored
Issue this as an IR-gen error; it's not really worthwhile doing this "right", i.e. in Sema, because IR gen knows a lot of tricks beyond what the constant evaluator knows. llvm-svn: 127854
-
Ted Kremenek authored
Use CrashRecoveryContextCleanup objects to recover an ASTUnit if we crash in ASTUnit::LoadFromCommandLine() and ASTUnit::LoadFromCompilerInvocation(). llvm-svn: 127851
-
Ted Kremenek authored
Use CrashRecoveryContextCleanup objects to release resources associated with Sema during a crash while parsing. llvm-svn: 127850
-
Ken Dyck authored
llvm-svn: 127848
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 127846
-
Ken Dyck authored
functionality intended. llvm-svn: 127844
-
Daniel Dunbar authored
disable Obj-C exceptions. llvm-svn: 127836
-
- Mar 17, 2011
-
-
Oscar Fuentes authored
Clang binary and source directories first (on that order). llvm-svn: 127822
-
Daniel Dunbar authored
llvm-svn: 127820
-
Daniel Dunbar authored
llvm-svn: 127819
-
Daniel Dunbar authored
llvm-svn: 127815
-
Richard Smith authored
Fix PR9488: 'auto' type substitution can fail (for instance, if it creates a reference-to-void type). Don't crash if it does. Also fix an issue where type source information for the resulting type was being lost. llvm-svn: 127811
-
David Chisnall authored
Remove code that was intentionally generating bad code on the GNU runtime for no reason (failing to emit .cxx_constructor / .cxx_destructor methods). llvm-svn: 127806
-
Ted Kremenek authored
llvm-svn: 127803
-
Ted Kremenek authored
Don't construct two CFGs just to run -Wuninitialized. While this causes new warnings to be flagged under -Wconditional-uninitialized, this is something we can improve over time. llvm-svn: 127802
-
Ted Kremenek authored
llvm-svn: 127799
-
Ted Kremenek authored
llvm-svn: 127798
-
Ted Kremenek authored
Teach VariadicMethodTypeChecker that CF references are valid arguments to variadic Objective-C methods. llvm-svn: 127797
-
Ted Kremenek authored
Tweak RegionStore's handling of lazy compound values to use the 'Default' versus 'Direct' binding key, thus allowing specific elements of an array/struct to be overwritten without invalidating the entire binding. Fixes PR 9455. llvm-svn: 127796
-
Ted Kremenek authored
llvm-svn: 127794
-
Ted Kremenek authored
llvm-svn: 127793
-
Ken Dyck authored
change in functionality intended. llvm-svn: 127787
-
Matt Beaumont-Gay authored
llvm-svn: 127783
-
Daniel Dunbar authored
not being consistent at all with other parts of the GCC implementation. llvm-svn: 127777
-
Douglas Gregor authored
walk the preprocessing record *before* walking the declarations, so they we pretend that we actually respect the phases of translation. We still walk the preprocessing record after the declarations when performing token annotation or finding the cursor at a location, since those routines depend on those semantics. Fixes <rdar://problem/9137195>. llvm-svn: 127776
-
- Mar 16, 2011
-
-
Joerg Sonnenberger authored
llvm-svn: 127769
-
Eli Friedman authored
llvm-svn: 127768
-
Ted Kremenek authored
llvm-svn: 127758
-
Abramo Bagnara authored
llvm-svn: 127755
-
Joerg Sonnenberger authored
the program name, if it includes it as proper prefix. This makes calling clang with -ccc-host-triple x86_64-linux the same as calling it with the name x86_64-linux-clang. llvm-svn: 127753
-
Douglas Gregor authored
dependent scope and produce an error (rather than crashing). Fixes PR8979. llvm-svn: 127749
-
Argyrios Kyrtzidis authored
Having FileManager::getFile always open the file, brought much consternation and leaking of file descriptors. Add 'openFile' bool to FileManager::getFile to specify whether we want to have the file opened or not, have it false by default, and enable it only in HeaderSearch.cpp where the open+fstat optimization matters. Fixes rdar://9139899. llvm-svn: 127748
-
Douglas Gregor authored
overload, so that we actually do the resolution for full expressions and emit more consistent, useful diagnostics. Also fixes an IRGen crasher, where Sema wouldn't diagnose a resolvable bound member function template-id used in a full-expression (<rdar://problem/9108698>). llvm-svn: 127747
-
Sandeep Patel authored
llvm-svn: 127746
-
Peter Collingbourne authored
llvm-svn: 127744
-
Peter Collingbourne authored
llvm-svn: 127743
-
Chandler Carruth authored
clients to observe the exact path through which an #included file was located. This is very useful when trying to record and replay inclusion operations without it beind influenced by the aggressive caching done inside the FileManager to avoid redundant system calls and filesystem operations. The work to compute and return this is only done in the presence of callbacks, so it should have no effect on normal compilation. Patch by Manuel Klimek. llvm-svn: 127742
-
Douglas Gregor authored
operands to a binary expression; it doesn't make sense in all contexts. The right answer would be to see if the user forgot at (). Fixes <rdar://problem/9136502>. llvm-svn: 127740
-
Douglas Gregor authored
pointer-to-function type. Fixes <rdar://problem/9065289>. llvm-svn: 127739
-
Douglas Gregor authored
ActOnFinishFunctionBody/ActOnBlockStmtExpr. This way, we ensure that we diagnose undefined labels before the jump-scope checker gets run, since the jump-scope checker requires (as its invariant) that all of the GotoStmts be wired up correctly. Fixes PR9495. llvm-svn: 127738
-