Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Daniel Dunbar dd63b28107 Update docs/comments/utils/examples to refer to clang -cc1 instead of clang-cc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91176 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-11 23:04:35 +00:00
Daniel Dunbar bb3503a146 Document that CompilerInvocation::createDiagnostics keeps a reference to the DiagnosticOptions, and update callers to make sure they don't pass in a temporary.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90704 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-06 09:56:30 +00:00
Daniel Dunbar 8fd57fea85 Fix layering violation by moving Analysis/CallGraph to Index
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90424 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 07:20:04 +00:00
Daniel Dunbar 5262fda30b Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; propogate and simplify.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90379 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 01:45:44 +00:00
Daniel Dunbar 25a9c37fc2 Update example link lines.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90359 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-03 00:00:22 +00:00
Daniel Dunbar ebe6862e34 Add a very minimal README.txt for examples/PrintFunctionNames.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90197 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-01 03:15:49 +00:00
Daniel Dunbar 6a4ce00f35 Add missed CMake file for adding clang examples to CMake build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89080 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17 09:40:40 +00:00
Daniel Dunbar 9a69387f5c Add a trivial example plugin, which prints the names of the top-level decls.
- The build scriptage is about twice as long as the code, which is nice. :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88826 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-15 00:27:43 +00:00
Daniel Dunbar 297b0833ad Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake equivalent yet).
Move tools/wpa to examples/wpa, and unbreak its build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88825 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-15 00:22:33 +00:00