- Dec 13, 2009
-
-
Daniel Dunbar authored
Lift builtin-include-path logic out of ASTUnit::LoadFromCommandLine and fix CIndex to pass in the right directory (previously it was using the path to the main executable, which generally is wrong). llvm-svn: 91238
-
Daniel Dunbar authored
llvm-svn: 91237
-
Daniel Dunbar authored
llvm-svn: 91229
-
- Dec 12, 2009
-
-
Jeffrey Yasskin authored
no extra safety anyway. llvm-svn: 91207
-
Eli Friedman authored
llvm-svn: 91205
-
Mike Stump authored
This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for: T a[I]; a[i] abort when i < 0 or i >= I. Future stuff includes shifts by >= bitwidth amounts. llvm-svn: 91198
-
Ted Kremenek authored
llvm-svn: 91196
-
Daniel Dunbar authored
llvm-svn: 91176
-
- Dec 10, 2009
-
-
Nuno Lopes authored
llvm-svn: 91002
-
- Dec 09, 2009
-
-
John McCall authored
"integer promotion" type associated with an enum decl, and use this type to determine which type to promote to. This type obeys C++ [conv.prom]p2 and is therefore generally signed unless the range of the enumerators forces it to be unsigned. Kills off a lot of false positives from -Wsign-compare in C++, addressing rdar://7455616 llvm-svn: 90965
-
Ted Kremenek authored
Fix crash in DisplayFunction(). ObjCInterfaceDecls can also get passed to this function, but we don't want to display them. llvm-svn: 90944
-
Chris Lattner authored
llvm-svn: 90927
-
Daniel Dunbar authored
llvm-svn: 90897
-
- Dec 08, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90853
-
Benjamin Kramer authored
llvm-svn: 90852
-
John McCall authored
Template instantiation can re-use DeclRefExprs. llvm-svn: 90848
-
Eli Friedman authored
llvm-svn: 90838
-
Jeffrey Yasskin authored
llvm-svn: 90822
-
- Dec 07, 2009
-
-
Ted Kremenek authored
Add clang-cc option '-analyzer-opt-analyze-nested-blocks' to treat block literals as an entry point for analyzer checks. llvm-svn: 90810
-
Nuno Lopes authored
llvm-svn: 90772
-
John McCall authored
but the results are imperfect. For posterity, I did: cat <<EOF > $cmdfile s/DeclaratorInfo/TypeSourceInfo/g s/DInfo/TInfo/g s/TypeTypeSourceInfo/TypeSourceInfo/g s/SourceTypeSourceInfo/TypeSourceInfo/g EOF find lib -name '*.cpp' -not -path 'lib/Parse/*' -exec sed -i '' -f $cmdfile '{}' \; find lib -name '*.h' -exec sed -i '' -f $cmdfile '{}' \; find include -name '*.h' -not -path 'include/clang/Parse/*' -not -path 'include/clang/Basic/*' -exec sed -i '' -f $cmdfile '{}' \; llvm-svn: 90743
-
Chris Lattner authored
llvm-svn: 90735
-
Chris Lattner authored
llvm-svn: 90732
-
- Dec 06, 2009
-
-
Daniel Dunbar authored
llvm-svn: 90703
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=86026 Note: The 'improved debugging' changes weren't integrated (since they were later reverted, since they didn't improve debugging). llvm-svn: 90693
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=82174 llvm-svn: 90692
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=72893 llvm-svn: 90690
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=71473 llvm-svn: 90688
- Dec 05, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90678
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=71086 http://llvm.org/viewvc/llvm-project?view=rev&revision=71107 Note: This fixes <rdar://problem/6845623> from protocol to template. llvm-svn: 90665
-
Steve Naroff authored
Remove 'LangOpts' from Diagnostic (added in http://llvm.org/viewvc/llvm-project?view=rev&revision=90642). Simply use the 'LangOpts' member already present in TextDiagnosticPrinter. Sorry for the confusion! llvm-svn: 90664
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=71086 Note - This commit only includes the fix for: <rdar://problem/6309338> slightly different error message format for Visual Studio. The fix for <rdar://problem/6845623> from protocol to template. is separate/forthcoming. llvm-svn: 90642
-
- Dec 04, 2009
-
-
John McCall authored
llvm-svn: 90614
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=70978 llvm-svn: 90597
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=70926 llvm-svn: 90596
-
Steve Naroff authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=70922 llvm-svn: 90595
-
Daniel Dunbar authored
which meant that hasErrorOccurred() checks to prevent codegen-on-invalid weren't working. llvm-svn: 90560
-
Daniel Dunbar authored
from a source file. - This allows CIndex to avoid iterating over all the top-level decls when using a PCH, which means we deserialize far fewer decls. llvm-svn: 90559
-