summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-26 19:29:26 +0000
committerChris Lattner <sabre@nondot.org>2009-01-26 19:29:26 +0000
commit5a7971e0c31a10959d555b3c321baece799afb73 (patch)
treecb7e2df548c6736937c020807fbea9144b55d04a /clang/lib/CodeGen/CodeGenModule.h
parent4b4622454c2836ed27bf2fcb5ad30256fe14802e (diff)
downloadbcm5719-llvm-5a7971e0c31a10959d555b3c321baece799afb73.tar.gz
bcm5719-llvm-5a7971e0c31a10959d555b3c321baece799afb73.zip
This change refactors some of the low-level lexer interfaces a bit.
Token now has a class of kinds for "literals", which include numeric constants, strings, etc. These tokens can optionally have a pointer to the start of the token in the lexer buffer. This makes it faster to get spelling and do other gymnastics, because we don't have to go through source locations. This change is performance neutral, but will make other changes more feasible down the road. llvm-svn: 63028
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud