[LLVMdev] Is this a bug in clang?

John Regehr regehr at cs.utah.edu
Wed Apr 20 12:00:24 PDT 2011


> No, Johannes is right: "undefined behavior" requires evaluation.

Undefined behavior does not require evaluation.  For example, undefined 
behavior occurs when "A nonempty source file does not end in a new-line 
character which is not immediately preceded by a backslash character or 
ends in a partial preprocessing token or comment."

John



More information about the llvm-dev mailing list