llvm-project/clang/lib
Daniel Jasper d1ac50ecaa ASTMatchers: Keep AllCallbacks in a set instead of a vector
AllCallbacks is currently only used to call onStartOfTranslationUnit and
onEndOfTranslationUnit on them. In this (and any other scenario I can
come up with), it is important (or at least better) not to have
duplicates in this container. E.g. currently onEndOfTranslationUnit is
called repeatedly on the same callback for every matcher that is
registered with it.

llvm-svn: 249598
2015-10-07 19:56:12 +00:00
..
ARCMigrate Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
AST Replace double-negated !SourceLocation.isInvalid() with SourceLocation.isValid(). 2015-10-03 05:15:57 +00:00
ASTMatchers ASTMatchers: Keep AllCallbacks in a set instead of a vector 2015-10-07 19:56:12 +00:00
Analysis Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
Basic [VFS] Port driver tool chains to VFS. 2015-10-07 15:48:01 +00:00
CodeGen Fix crash in codegen on casting to `bool &`. 2015-10-07 10:22:08 +00:00
Driver [VFS] Port driver tool chains to VFS. 2015-10-07 15:48:01 +00:00
Edit Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
Format clang-format: Fixed missing space between Obj-C for/in and a typecast. 2015-10-07 15:09:08 +00:00
Frontend Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [Headers][X86] Fix stream_load (movntdqa) to accept const*. 2015-10-02 23:29:26 +00:00
Index [VFS] Port SimpleFormatContext to InMemoryFileSystem. 2015-10-06 10:23:34 +00:00
Lex SourceRanges are small and trivially copyable, don't them by reference. 2015-10-04 04:53:55 +00:00
Parse Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
Rewrite Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
Sema Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
Serialization Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
StaticAnalyzer Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups 2015-10-06 23:40:43 +00:00
Tooling [Tooling] Don't run a tool invocation without a FileManager. 2015-10-06 15:04:13 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00