ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 6182039 was dba6db9, checked in by Andrew Beach <ajbeach@…>, 8 years ago |
Added CodeTools::fillLocations, not called yet.
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | //
|
---|
2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
|
---|
3 | //
|
---|
4 | // The contents of this file are covered under the licence agreement in the
|
---|
5 | // file "LICENCE" distributed with Cforall.
|
---|
6 | //
|
---|
7 | // TrackLoc.h -- Track CodeLocation information in a translation unit's declarations.
|
---|
8 | //
|
---|
9 | // Author : Andrew Beach
|
---|
10 | // Created On : Tues May 2 15:40:00 2017
|
---|
11 | // Last Modified By : Andrew Beach
|
---|
12 | // Last Modified On : Wed May 3 14:42:00 2017
|
---|
13 | // Update Count : 0
|
---|
14 | //
|
---|
15 |
|
---|
16 | #ifndef TRACKLOC_H
|
---|
17 | #define TRACKLOC_H
|
---|
18 |
|
---|
19 | #include "SynTree/SynTree.h"
|
---|
20 |
|
---|
21 | namespace CodeTools {
|
---|
22 |
|
---|
23 | /// Fill in an approximate CodeLocation for each syntax node.
|
---|
24 | // printLevel: how much printing while filling in the node locations.
|
---|
25 | // 0 - No Printing, 1 - Print Location, 2 - Print Node Type and Location
|
---|
26 | void fillLocations( std::list< Declaration * > &translationUnit,
|
---|
27 | unsigned int printLevel = 0 );
|
---|
28 |
|
---|
29 | } // namespace CodeTools
|
---|
30 |
|
---|
31 | #endif // TRACKLOC_H
|
---|
32 |
|
---|
33 | // Local Variables: //
|
---|
34 | // tab-width: 4 //
|
---|
35 | // mode: c++ //
|
---|
36 | // compile-command: "make install" //
|
---|
37 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.