aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
AgeCommit message (Expand)Author
2010-04-05Make Diagnostic reference-counted, which is simpler than jugglingDouglas Gregor
2010-04-05Clarify the ownership semantics of the Diagnostic object used byDouglas Gregor
2010-04-05Minor ASTUnit cleanups:Douglas Gregor
2010-04-01Driver: Add support for a CLANGXX_IS_PRODUCTION build variable, which enableDaniel Dunbar
2010-03-19Optionally store a PreprocessingRecord in the preprocessor itself, andDouglas Gregor
2010-03-18Introduce the notion of a "preprocessing record", which keeps track ofDouglas Gregor
2010-03-17Don't "take" the file manager and source manager whenDouglas Gregor
2010-03-16Make sure we actually override ReadHeaderFileInfo when we meant toDouglas Gregor
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor
2010-03-05The Windows build is just too weird; there's no real cost to doing the concur...Douglas Gregor
2010-03-05Switch from NDEBUG to _DEBUG, since our Windows build is funnyDouglas Gregor
2010-03-05A little hack to identify unwanted concurrency in CIndexDouglas Gregor
2010-02-27When given unsaved files in clang_createTranslationUnitFromSourceFile,Douglas Gregor
2010-02-18Teach ASTUnit to keep track of temporary files, then delete them whenDouglas Gregor
2010-02-18Rework how CIndex handles diagnostics. Rather than using a callback,Douglas Gregor
2010-02-16ASTUnit: Constant fold UseBumpAllocator to true, we don't care to support thi...Daniel Dunbar
2010-02-16ASTUnit::LoadFromCompilerInvocation - Take ownership of the provided invocation.Daniel Dunbar
2010-01-30ASTUnit: Ensure the CompilerInvocation object used in LoadFromCommandLine isDaniel Dunbar
2010-01-30PCHReader doesn't implement classof so dyn_casting it will do really weird st...Benjamin Kramer
2010-01-25ASTUnit: Don't check that input files exist when parsing ASTs from the commandDaniel Dunbar
2010-01-23Extend clang_createTranslationUnitFromSourceFile() to support creatingDouglas Gregor
2009-12-15Add -resource-dir to clang -cc1, this allows the base directory for compilerDaniel Dunbar
2009-12-13Lift builtin-include-path logic out of ASTUnit::LoadFromCommandLine and fix C...Daniel Dunbar
2009-12-13CompilerInvocation: Move builtin-include-path logic out of CompilerInvocation...Daniel Dunbar
2009-12-08Remove several .c_str() to be forward-compatible with StringRef.Jeffrey Yasskin
2009-12-04ASTUnit/CIndex: Explicitly track the top-level decls when using an ASTUnit madeDaniel Dunbar
2009-12-03Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; p...Daniel Dunbar
2009-12-02ASTUnit: Explicitly track whether the ASTUnit came from an actual AST or not.Daniel Dunbar
2009-12-02ASTUnit: Fix initialization of OnlyLocalDecls variable, and honor UseBumpAllo...Daniel Dunbar
2009-12-02Fix ASTUnit::getOriginalSourceFileName() when using ASTUnit's derived fromDaniel Dunbar
2009-12-02ASTUnit: Don't create an LLVMContext, it shouldn't be needed.Daniel Dunbar
2009-12-02Add ASTUnit::LoadFromCommandLine, which creates an ASTUnit out of a list ofDaniel Dunbar
2009-12-01ASTUnit: Make sure to preserve the TargetInfo for later use.Daniel Dunbar
2009-12-01Add ASTUnit::LoadFromCompilerInvocation, which does what it says.Daniel Dunbar
2009-11-28Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend.Benjamin Kramer
2009-11-15Add TargetOptions and use it when constructing targets.Daniel Dunbar
2009-11-11Redo how PCH handles its implicit include. Instead of treating this specially inDaniel Dunbar
2009-11-11StringRefify some PCH interfaces.Daniel Dunbar
2009-10-19The constructor for ASTUnit now takes a DiagnosticClient*, allowing uses of A...Ted Kremenek
2009-10-19Move Diagnostic/DiagClient/FileManager from Indexer => ASTUnit.Steve Naroff
2009-10-18Use sys::Path::eraseFromDisk instead of unlink as suggested by Chris.Benjamin Kramer
2009-10-17Add 'UseBumpPtrAllocator' flag to ASTUnit::LoadFromPCHFile() to cause the cre...Ted Kremenek
2009-10-16Keep track of whether declararions were loaded from a precompiledDouglas Gregor
2009-10-15Make sure temporary files get unlinked.Steve Naroff
2009-09-21Change ASTUnit to only initialize the predefines buffer to the suggested pred...Daniel Dunbar
2009-09-21Change ASTUnit to take the Diagnostic as an argument, the client should have ...Daniel Dunbar
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
2009-09-04Implement accessors clang_getCursorKind(), clang_getCursorDecl().Steve Naroff
2009-09-03Add ASTUnit::getOriginalSourceFileName() and use in clang_getTranslationUnitS...Steve Naroff
2009-09-03Revert "Visit function/method bodies and issue callback for parameters and localDaniel Dunbar