Closed 4ntoine closed 9 years ago
a bit hacky way but now the keywords expectedly work for AVR target and expectedly not work for others
-triple
should be equal to "avr"
strictly (to use __flashN keywords)
Does this commit mean that we cannot use your fork with any other target than AVR now? I'm not sure I understand
flashN keywords relate to AVR target only. Now you'll get error if using them for non-AVR target which is reasonable (until that commit you could use flashN for non-AVR targets too which was useless). You can still use my fork for non-AVR targets too (edited my previous comment to remove misunderstanding)
https://github.com/4ntoine/clang/issues/5
I've added
KEYAVR=0x9000
inlib/Basic/IdentifierTable.cpp
and add switch case inGetKeywordStatus()
KS_Enabled, but keywords can't be found: