2131 Commits

Author SHA1 Message Date
Vassil Vassilev
61868d59d9 llvm::errc -> std::errc. 2014-08-14 14:56:38 +02:00
Vassil Vassilev
d7c356286a Sanitizer opts take less options. 2014-08-14 14:56:38 +02:00
Vassil Vassilev
22f891e9be llvm::OwningPtr to std::unique_ptr. 2014-08-14 14:56:38 +02:00
Vassil Vassilev
c612a276e9 Adapt to interface changes in clang diagnostics. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
cc7bb99497 MSCVersion -> MSCompatibilityVersion . 2014-08-14 14:56:37 +02:00
Vassil Vassilev
c7a71f9c1f setForcedLangOptions -> adjust. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
3c62160e63 getTargetOpts -> TargetOpts. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
3b523e05b1 Follow recent llvm interface changes getPtr()->get() . 2014-08-14 14:56:37 +02:00
Vassil Vassilev
ba5db8469d Move the code further up. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
3d5b378afb Move the diagnostic client setup before parser's initialization.
This would allow us to produce diagnostics in the invocation args, such as
 -DFOO=''
Fixes ROOT-6538.
2014-08-14 14:56:37 +02:00
Vassil Vassilev
ac4ab27781 Reduce the iteration to only STL (at least on Ubu is the first include path.) 2014-08-14 14:56:37 +02:00
Vassil Vassilev
bacc8b6f08 Remove debug printout. Run in verify mode. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
0065df1842 Test the fwd decl generator with all headers in the include path. 2014-08-14 14:56:37 +02:00
Vassil Vassilev
1c38bbdc59 Use different name of the parameters avoiding clashes. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
fff46d898a Style and indents! 2014-08-14 14:56:36 +02:00
Vassil Vassilev
1e2a2fedca Forward declare, where possible. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
e18f6722b9 Use cling coding conventions. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
8203ebf237 Remove redundant function. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
44140ded69 Do not mix private members and private functions in the same section. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
54eee74802 Teach the forward decl printer how to suppress warnings. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
ca124ec91d Store full paths into the annotation, add extra payload if any. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
03f4edd3c1 Do not print the inherited default arguments. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
151a0109f6 No this upfront. 2014-08-14 14:56:36 +02:00
Vassil Vassilev
01c090cf62 Use the correct variable. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
f65296420e Put back the XFAIL. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
51cdb1791c If no annotate attribute exit early. 2014-08-14 14:56:35 +02:00
manasij7479
e6df871547 Workarounds for getting STL fwd decls working: Iterate extern C blocks instead of calling VisitDeclContext Check if :: is a substring for hasNestedNameSpecifier Discard old solution for not printing classes and templates twice. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
53d7da9b75 No need of undo anymore. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
736ce0b8a9 Copy the header search options to the new instance. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
91f9ad6abd Qualify the name for easier undestanding. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
da49b370b1 Early exit if the File==0. Still to be investigated why is that. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
d8f6659dcc Improve support for enum redeclaration. 2014-08-14 14:56:35 +02:00
manasij7479
fd1d5d2290 Generate fwd decls from nested cling instance 2014-08-14 14:56:35 +02:00
Vassil Vassilev
b2f0efd4d7 Update last known good llvm rev. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
56473aa73e Name got changed from _GLOBAL__I_a to _GLOBAL__sub_I__. 2014-08-14 14:56:35 +02:00
Vassil Vassilev
b9ef218242 Newest llvm has better protections. Implement in a more verbose way removal of redecls. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
ba9ed46a99 Tweak test expectations to match the new pretty printing. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
c1bd9c198c clingTagsExtension is gone. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
7c83ac9c44 Follow llvm interface changes. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
20c6cd6fae We need libLLVMProfileData. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
db33d58960 Add missing includes. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
a79ba8fd7c Add include needed by CXXNullPtrLiteralExpr. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
e927bdbb7f TypeResult::release -> TypeResult::get. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
5d217e83ea OverloadCandidateSet's ctor takes one more argument. 2014-08-14 14:56:34 +02:00
Vassil Vassilev
0d5aed3668 SourceManager::createFileIDForMemBuffer -> SourceManager::createFileID. 2014-08-14 14:56:33 +02:00
Vassil Vassilev
9fc84acd73 Form a llvm::StringRef easier. 2014-08-14 14:56:33 +02:00
Vassil Vassilev
96d25f190f Pass whether we own the deserialization listener. 2014-08-14 14:56:33 +02:00
Vassil Vassilev
79b26d8878 ExprResult::take -> ExprResult::get, ExprResult::takeAs -> ExprResult::getAs. 2014-08-14 14:56:33 +02:00
Vassil Vassilev
8c3561bdd7 Use the shortcut to create the ASTContext. 2014-08-14 14:56:33 +02:00
Vassil Vassilev
0dae68f749 Replace createMainFileID with the new interface. 2014-08-14 14:56:33 +02:00