Chandler Carruth
|
324f918438
Update the file headers across all of the LLVM projects in the monorepo
|
6 жил өмнө |
Eugene Zelenko
|
7b99e597a0
[AST] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
|
7 жил өмнө |
Benjamin Kramer
|
fd352be22e
Retire llvm::alignOf in favor of C++11 alignof.
|
8 жил өмнө |
Mehdi Amini
|
2e23251d3e
[NFC] Header cleanup
|
9 жил өмнө |
James Y Knight
|
7d510c2089
[TrailingObjects] Convert Decl* classes.
|
9 жил өмнө |
Benjamin Kramer
|
62c6c7cf3a
Replace custom alignment enforcement with LLVM_ALIGNAS.
|
10 жил өмнө |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 жил өмнө |
Douglas Gregor
|
1de22a26c0
I lied. Kill off a few more Destroy methods
|
15 жил өмнө |
Ted Kremenek
|
e7809d4941
Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>.
|
15 жил өмнө |
Douglas Gregor
|
370187c8a3
Remove the serialization code that predates precompiled
|
16 жил өмнө |
Chris Lattner
|
682bf92db4
Push DeclGroup much farther throughout the compiler. Now the various
|
16 жил өмнө |
Chris Lattner
|
fe95deaf66
Cleanups for DeclGroup.
|
16 жил өмнө |
Douglas Gregor
|
9653db7bd0
Remove DeclGroupOwningRef, since we intend for declarations to be owned
|
16 жил өмнө |
Steve Naroff
|
c0ac4923f0
Finish making AST BumpPtrAllocation runtime configurable (based on -disable-free).
|
16 жил өмнө |
Steve Naroff
|
3e9704981d
Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate().
|
16 жил өмнө |
Ted Kremenek
|
990601b6e9
Fix incorrect release of Decl* array referenced by DeclGroup.
|
17 жил өмнө |
Ted Kremenek
|
401adfad4a
Add const_iterator to DeclGroup.
|
17 жил өмнө |
Ted Kremenek
|
c7b07c19da
Added prototype serialization code for DeclGroup.
|
17 жил өмнө |
Ted Kremenek
|
e285a9505c
Modified DeclGroupRef to always load/store the internal pointer value as Decl*. This hopefully will obviate any concerns with violating strict type-aliasing issues.
|
17 жил өмнө |
Zhongxing Xu
|
c61255f630
Delete trailing white space. It's over 80 columns.
|
17 жил өмнө |
Ted Kremenek
|
1377e541ea
Use a union instead of a bunch of magic casts to implement a variant. This removes the type-punning errors for DeclGroup.
|
17 жил өмнө |
Ted Kremenek
|
d17062cc23
Added prototype implementation of the DeclGroup, DeclGroupRef, and DeclGroupOwningRef classes.
|
17 жил өмнө |