- Oct 19, 2009
-
-
Ted Kremenek authored
alternate DiagnosticClients. To match this API, ASTUnit::LoadFromPCHFile() now takes a corresponding DiagnosticClient* argument as well. The DiagnosticClient object is destroyed when the ASTUnit object is destroyed. The CIndex library now uses this API to create a 'IgnoreDiagnosticsClient' that simply silences diagnostics when using the clang_createTranslationUnitFromSourceFile() function. This fixes <rdar://problem/7312058>. This API can change in the future as we add more flexibility for clients. llvm-svn: 84539
-
Fariborz Jahanian authored
to '+=', '-=', '*=' and '/=' builtin operators and fixes a logic bug exposed by doing this. llvm-svn: 84538
-
Ted Kremenek authored
Re-order includes so that the logic involving '#ifdef LLVM_ON_WIN32' appears after the main #includes. The ultimate solution is to just use LLVM-portable methods in llvm/System. llvm-svn: 84534
-
Fariborz Jahanian authored
is a standard convesion and not a user-defined conversion. llvm-svn: 84525
-
Anders Carlsson authored
llvm-svn: 84518
-
Anders Carlsson authored
llvm-svn: 84514
-
Steve Naroff authored
Removing this shared data should enable clang_createTranslationUnit/clang_createTranslationUnitFromSourceFile to be run from multiple threads (related to <rdar://problem/7303432>). llvm-svn: 84499
-
Steve Naroff authored
llvm-svn: 84498
-
Benjamin Kramer authored
Daniel's comment. llvm-svn: 84484
-
Daniel Dunbar authored
column computation isn't correct and could exceed the line length, which resulted in a buffer overflow later. - Chris, is there a better way for this code to compute the final column used by the caret? llvm-svn: 84475
-
Edward O'Callaghan authored
llvm-svn: 84469
-
Chris Lattner authored
llvm-svn: 84466
-
Daniel Dunbar authored
llvm-svn: 84458
-
Daniel Dunbar authored
- I'm not sure this is ideal, but otherwise clients must be overly careful when handling decl's which can have empty names. llvm-svn: 84457
-
Daniel Dunbar authored
llvm-svn: 84456
-
Daniel Dunbar authored
llvm-svn: 84455
-
Daniel Dunbar authored
llvm-svn: 84454
-
Daniel Dunbar authored
llvm-svn: 84453
-
Anders Carlsson authored
When binding a reference to a temporary, it's important that other temporaries created as on the RHS are destroyed before emitting the dtor for the temporary. llvm-svn: 84451
-
Anders Carlsson authored
llvm-svn: 84449
-
- Oct 18, 2009
-
-
Anders Carlsson authored
llvm-svn: 84448
-
Daniel Dunbar authored
are updated. llvm-svn: 84447
-
Anders Carlsson authored
llvm-svn: 84446
-
Nate Begeman authored
llvm-svn: 84445
-
Anders Carlsson authored
llvm-svn: 84443
-
Daniel Dunbar authored
trashing. llvm-svn: 84439
-
Anders Carlsson authored
llvm-svn: 84438
-
Daniel Dunbar authored
- strcmp -> == - OS.write(II->getName() ...) -> OS << II->getNameStr() - Avoid std::string concatenation - Use getNameStr().str() when an std::string is really needed. llvm-svn: 84437
-
Daniel Dunbar authored
llvm-svn: 84436
-
Daniel Dunbar authored
llvm-svn: 84435
-
Nate Begeman authored
form that LLVM code generators can turn into efficient code. For example, int4 a, b, c; a = (int4)(b.yzw, a.x) llvm-svn: 84434
-
Benjamin Kramer authored
llvm-svn: 84433
-
Anders Carlsson authored
llvm-svn: 84428
-
Benjamin Kramer authored
llvm-svn: 84427
-
Benjamin Kramer authored
llvm-svn: 84426
-
Anders Carlsson authored
llvm-svn: 84423
-
Benjamin Kramer authored
llvm-svn: 84422
-
Benjamin Kramer authored
llvm-svn: 84421
-
Benjamin Kramer authored
llvm-svn: 84420
-
Benjamin Kramer authored
llvm-svn: 84419
-