aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-09-10 22:22:06 +0800
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:21 +0000
commite0db6e13f05fb197621eca65d275094f2502473f (patch)
tree87292b66be33f12c44eafb75b326c9275f27ce7c /gcc/rust/rust-lang.cc
parentdaedbe3476556f0b39f595debeea6979382d296b (diff)
downloadgcc-e0db6e13f05fb197621eca65d275094f2502473f.zip
gcc-e0db6e13f05fb197621eca65d275094f2502473f.tar.gz
gcc-e0db6e13f05fb197621eca65d275094f2502473f.tar.bz2
Converted Parser to template in preparation for macro expansion
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r--gcc/rust/rust-lang.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc
index 91c77bc..2752497 100644
--- a/gcc/rust/rust-lang.cc
+++ b/gcc/rust/rust-lang.cc
@@ -34,17 +34,11 @@
// TODO: is this best way to do it? Is it allowed? (should be)
/* General TODOs:
- * - maybe convert all raw pointer-returning/passing functions that
- * conceptually return a unique pointer actually return a unique pointer. i.e.
- * parse methods and constructors for AST objects. make_unique should probably
- * be avoided to keep C++11 compatibility.
* - convert all copies of expensive-to-copy (deep copy) AST objects into
- * moves, if possible. Don't
- * remove clone functionality - it may be required for e.g. HIR conversion.
+ * moves, if possible. Don't remove clone functionality - it may be required for e.g. HIR conversion.
*/
#include "rust-system.h"
-#include "rust-parse.h"
#include "rust-session-manager.h"
#include "rust-target.h"